From 22af67556be3971b74ac489580fcb6a576c3ba0c Mon Sep 17 00:00:00 2001 From: rhjr Date: Wed, 21 Jan 2026 08:04:49 +0100 Subject: [PATCH] Fixed: build and start commands for win32 and unix platforms --- .config/emacs/init.el | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/.config/emacs/init.el b/.config/emacs/init.el index 05a7628..ce8dccb 100644 --- a/.config/emacs/init.el +++ b/.config/emacs/init.el @@ -15,7 +15,17 @@ (defconst rhjr/paths/home (if (eq system-type 'windows-nt) "C:\\Users\\Rhjr\\Home\\" - "~")) + "~")) + +(defconst rhjr/build-command + (if (eq system-type 'windows-nt) + "build.bat" + "./build.sh")) + +(defconst rhjr/start-command + (if (eq system-type 'windows-nt) + "start.bat" + "./start.sh")) ;; rhjr/archives (require 'package) @@ -311,10 +321,10 @@ (other-window 1)) (global-set-key [f1] (lambda () (interactive) - (run-project-command "build.bat"))) + (run-project-command rhjr/build-command))) (global-set-key [f2] (lambda () (interactive) - (run-project-command "start.bat"))) + (run-project-command rhjr/start-command))) (global-set-key [f3] #'set-project-command-arg) @@ -325,8 +335,8 @@ ;;;rhjr/styling (set-face-attribute 'default nil - :family "Consolas" - :height 150 + :family "Cascadia Code" + :height 135 :weight 'normal) (custom-set-variables