-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
23 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,13 @@ | ||
REM launch firestorm with os-level settings and cache locations | ||
REM --humbletim 2024.03.08 | ||
REM %~dp0 == path of this batch file | ||
REM %* forwards any arguments alonge; eg: | ||
REM launch_with_settings_and_cache_here.bat --set UIScaleFactor 1 | ||
|
||
REM new Firestorm_x64 user settings location | ||
@echo off | ||
REM | launch viewer with in-folder APPDATA (user settings) LOCALAPPDATA (cache, logs, etc.) | ||
REM | ... for FS this will emerge ./Firestorm_x64 and ./FirestormOS_x64 respectively | ||
REM | --humbletim 2024.03.08 | ||
REM | | ||
REM | %* forwards any arguments alonge; eg: | ||
REM | launch_with_settings_and_cache_here.bat --set UIScaleFactor 1 | ||
REM | %~dp0 == path of this batch file | ||
|
||
set "APPDATA=%~dp0" | ||
|
||
REM new FirestormOS_x64 cache/temp location | ||
|
||
set "LOCALAPPDATA=%~dp0" | ||
|
||
REM actual .exe name to launch | ||
REM use an absolute path unless in same folder as this batch file | ||
|
||
call $APPLICATION_EXE %* | ||
echo APPDATA=%APPDATA% LOCALAPPDATA=%LOCALAPPDATA% | ||
call %~dp0\$APPLICATION_EXE %* |