Commit Graph

13 Commits

Author SHA1 Message Date
CakeLancelot
3fc6cabe33 Disable telemetry in player dll
Co-authored-by: gsemaj <gsemaj@proton.me>
2023-09-19 08:59:13 -05:00
CakeLancelot
43f0c8c684 Revise loader DLL to work under Wine, loading screen beta text, cleanup 2023-09-16 20:57:13 -05:00
CakeLancelot
dabb8bf484 Use extra-plugin-dirs in Electron to load plugin, add fusion manifest.
This has the advantage of being self contained (doesn't conflict with Unity 3.x - 5.x loader, so we can use the original one) and **disabling auto updates actually works**.

We can also eliminate any code used to install and verify unity, since it's all self contained.

Also added fusion manifest file to set process as DPI aware, and set ACP to UTF-8 on Windows 10 1903 and above.

Bumped version to 1.4.2
2023-09-14 05:29:34 -05:00
CakeLancelot
043bf219e7 Consistency pass and small tweaks
**Formatting going forward**
Variables: camelCase (capitalization of two letter abbreviations is OK, e.g. playerID)
Classes: PascalCase
CSS: kebab-case
Files: kebab-case

**Other miscellaneous changes**
* The WebPlayer crashing as well as failing to load the config file are now fatal  errors and will quit the app
* Moved some style attributes from index.html into openfusion.css
2023-09-03 05:12:30 -05:00
CakeLancelot
2bf916ea58 Fix bug in WebPlayer installation logic
Also run prettier
2023-02-09 12:52:57 -06:00
CakeLancelot
d554b6b968 Get version number from package.json on app start
This is easy to miss when prepping a new release so I figured we might as well automate it
2023-02-09 11:56:53 -06:00
CakeLancelot
5da0da1981 Consolidate afterPack scripts into one file 2023-02-09 04:39:21 -06:00
CakeLancelot
d0f947c4a5 Add large address aware patch to build process 2023-02-09 03:14:09 +00:00
CakeLancelot
3d9107a7f1 Install Unity Web Player through Electron rather than the bat file
This method is a lot more reliable, as the bat file was known to not work in certain configurations of Windows and on Wine
2023-02-08 15:21:35 -06:00
CakeLancelot
2640c8f1a6 LICENSE -> LICENSE.md, Add WebPlayer license file 2022-07-25 11:33:39 -05:00
gsemaj
c6e3316003 Add missing Unity Web Player files 2021-09-18 19:07:56 -04:00
CakeLancelot
5cbe30f39f Various package.json tweaks
* On `npm run dist`, build both nsis and zip
* Delete unnecessary default-app folder after pack
* Make sure installers are 32 bit
* Amend `repository` field
2021-05-17 03:09:24 -05:00
CakeLancelot
5d5dce9647 Move to npm for development and packaging
I had to hack the package.json to force `electron-prebuilt` to use a 32-bit binary - everything else should be fairly out of the box
2021-04-28 12:37:22 -05:00