File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -55,9 +55,9 @@ class ElectronLoader {
5555
5656 static /** @type {string } */ STEAM_DEFAULT_COMPAT_DATA_ROOT = "~/.local/share/Steam/steamapps/compatdata" ;
5757 static /** @type {string } */ STEAM_COMPAT_STEAMUSER_DIR = "pfx/drive_c/users/steamuser" ;
58- static /** @type {string } */ APP_PACKAGE_FILE = "package.json" ;
5958 static /** @type {string } */ APP_SETTINGS_FILE = "settings.json" ;
6059 static /** @type {string } */ APP_PROFILES_DIR = "profiles" ;
60+ static /** @type {string } */ APP_PACKAGE_FILE = path . join ( __dirname , "package.json" ) ;
6161 static /** @type {string } */ APP_DEPS_LICENSES_FILE = path . join ( __dirname , "3rdpartylicenses.txt" ) ;
6262 static /** @type {string } */ APP_DEPS_INFO_FILE = path . join ( __dirname , "3rdpartylicenses.json" ) ;
6363 static /** @type {string } */ GAME_DB_FILE = path . join ( __dirname , "game-db.json" ) ;
@@ -78,7 +78,7 @@ class ElectronLoader {
7878 const appPackage = fs . readJSONSync ( ElectronLoader . APP_PACKAGE_FILE , { encoding : "utf-8" } ) ;
7979 return `v${ appPackage . version } ` ;
8080 } catch ( err ) {
81- return "main " ;
81+ return "master " ;
8282 }
8383 } ) ( ) ;
8484
You can’t perform that action at this time.
0 commit comments