Commit Graph

125 Commits

Author SHA1 Message Date
catloversg
685b7d51f7
ELECTRON: Update Electron to v29 (#1556) 2024-08-08 18:10:55 -07:00
catloversg
6483b5e7fe
BUGFIX: Crash when accessing nonexist files with file protocol (#1529) 2024-08-01 23:09:49 -07:00
Snarling
8ee703760a Start 2.6.3 dev cycle 2024-07-03 19:39:21 -04:00
catloversg
cef789eb7c
ELECTRON: Fix error with symbolic link (#1427) 2024-06-25 19:09:22 -04:00
catloversg
2ee548a140
BUGFIX: Fix corrupted save in Steam cloud (#1341) 2024-06-02 12:04:42 -04:00
Snarling
fe7e1c86bc
Start 2.6.2 cycle (#1301) 2024-05-22 01:35:35 -04:00
catloversg
e478b9a224
MISC: Log invalid file request in Electron app (#1267) 2024-05-11 17:04:54 -07:00
catloversg
a79d7f9e45
BUGFIX: Fix wrong zoom factor in Electron app (#1245) 2024-05-06 13:13:56 -04:00
catloversg
5696db2788
MISC: Fix ghost processes when Electron code crashes too early (#1238) 2024-05-02 18:38:39 -04:00
catloversg
8553bcb8fc
MISC: Support compression of save data (#1162)
* Use Compression Streams API instead of jszip or other libraries.
* Remove usage of base64 in the new binary format.
* Do not convert binary data to string and back. The type of save data is SaveData, it's either string (old base64 format) or Uint8Array (new binary format).
* Proper support for interacting with electron-related code. Electron-related code assumes that save data is in the base64 format.
* Proper support for other tools (DevMenu, pretty-save.js). Full support for DevMenu will be added in a follow-up PR. Check the comments in src\DevMenu\ui\SaveFileDev.tsx for details.
2024-03-27 21:08:09 -07:00
Michael Ficocelli
d81358c80f
IPVGO: Add support to netscript API for game state, current player, and alternate ways to check/wait on AI turn (#1142) 2024-03-19 14:07:15 -04:00
Snarling
1755b7cd7f 2.6.1dev initial state 2024-03-05 20:54:11 -05:00
Snarling
0bf01aacab
RELEASE: 2.6.0 (#1136) 2024-03-05 20:46:46 -05:00
Snarling
489ba595f3
VERSION: Begin 2.6.0 dev cycle (#992) 2023-12-26 11:53:27 -05:00
Snarling
997ae8c176 Changelog reset for 2.5.2 dev cycle 2023-11-30 17:21:31 -05:00
Snarling
36312c660d
CODE: Enable es2023 features (#870) 2023-10-23 04:49:12 -04:00
Daniele Basso
9dd8275be1
Replace electron-config with electron-store. (#813) 2023-10-23 02:43:18 -04:00
omuretsu
7e94a8653e Fix electron w/ unsupported arch for greenworks 2023-10-09 19:14:53 -04:00
Snarling
1b271d6e29
Update electron to latest (#850) 2023-10-04 19:46:08 -04:00
omuretsu
a8e48ddb12 2.5.1 dev start 2023-10-02 19:46:57 -04:00
Snarling
6d3495d05f
Changelog update for 2.5.0 (#828) 2023-09-24 09:11:49 -04:00
Snarling
de5ebc993b
RELEASE: 2.4.1 (#752) 2023-08-26 18:07:09 -04:00
omuretsu
325224df27 2.3.2dev start 2023-06-07 15:06:47 -04:00
omuretsu
f55551c0cd 2.3.1 release 2023-06-07 14:41:36 -04:00
Steven Proctor
561b5cbf75
debugAccelerator: (#471)
- Added the F12 accelerator for Debug->Activate (DevTools) for faster access in Electron. Matches the shortcut for Chrome browsers.
2023-04-11 15:10:07 -04:00
omuretsu
042a476f78 Update electron package version info 2023-03-20 23:38:18 -04:00
omuretsu
93939431e9 Remove some unused electron code
Verified that steam exits the game even when a link has been opened, no need for utils.openExternal or tracking app_playerOpenedExternalLink.
Also removed some unneeded eslint override comments
2023-02-26 19:18:54 -05:00
Snarling
b9b5a62105
Fix electron link handling (#396) 2023-02-25 17:42:26 -05:00
Snarling
f266906f6f
ELECTRON: security fix (#319) 2023-01-10 19:12:23 -05:00
David Walker
0c2d402f0b
INFRA: Update everything except React (#312) 2023-01-08 02:36:55 -05:00
David Walker
593b860241
New version of Electron, v22.0.0 (#302)
Fixes the blinking text bug!
2023-01-06 14:01:27 -05:00
Olivier Gagnon
b5e4d706b2 🔖 Build v1.6.4 2022-04-13 12:32:26 -04:00
Olivier Gagnon
d7822b389e 🔖 Build v1.6.3 2022-04-13 01:40:29 -04:00
Olivier Gagnon
aa447d3051 🔖 Build v1.6.1 2022-04-13 01:37:53 -04:00
Olivier Gagnon
f555c4567b update doc 2022-04-13 01:35:35 -04:00
phyzical
7cc3b85083 linting 2022-04-07 16:23:31 +08:00
phyzical
a4d221f709 missed a conflict opps 2022-04-07 16:23:26 +08:00
phyzical
85e65195e5 merg dev 2022-04-07 16:22:07 +08:00
Olivier Gagnon
48f80f25d6 fmt and lint 2022-04-06 19:30:08 -04:00
phyzical
ee6c13d33b add app id for notifications and other magic 2022-04-04 22:15:46 +08:00
phyzical
6f09720393 added logic to add cmd/ctrl and +, cmd/ctrl and - cmd/ctrl and 0
* added logic to atleast allow arm64 to launch due to steam incopatibility
2022-04-02 23:04:48 +08:00
Martin Fournier
28f11a3211 Remove unused files 2022-03-21 07:48:07 -04:00
BB
5e2ccc71ec Mixing spaces and tabs, extra semicolons and lonely ifs are now forbidden 2022-03-11 16:32:48 +01:00
hydroflame
b7ffdeb5e2
Merge pull request #3076 from ApamNapat/turned_two_eslint_rules_on
Trailing whitespace and files not ending with \n are now illegal
2022-03-10 22:12:17 -05:00
hydroflame
69f7f4896e
Merge pull request #2874 from smolgumball/add-zoom-reset
electron ui: add `Zoom -> Reset Zoom` command
2022-03-10 21:45:45 -05:00
BB
2f4d879c16 Trailing whitespace and files not ending with \n are now illegal 2022-03-08 22:51:02 +01:00
smolgumball
3431997315 fix: electron windowTracker error when reloading and killing scripts 2022-01-29 17:58:09 -07:00
smolgumball
0f43b02685 Add Zoom -> Reset Zoom command 2022-01-29 17:24:57 -07:00
hydroflame
e392e6d71f
Merge pull request #2780 from MartinFournier/feat/electron-store-winposition
Store Electron window position in user settings
2022-01-26 12:57:09 -05:00
Martin Fournier
d386528627 Add support for Steam Cloud & local filesystem
Adds actions to save the game's data directly in the filesystem and/or
into Steam Cloud. Them game will push an event with the save data
whenever the game is saved. Electron will use that data to persist it
into the User Data folder, until the folder reaches a certain size.
Once over the quota, it's going to remove previous saves.

Files are grouped according the the player's identifier, ensuring
backups off different playthroughs if importing.

Optionally, the file will be gzipped before saving to disk, largely
reducing file size.

Adds a way to save & load from Steam Cloud, currently manually only.

When loading a save, it'll trigger the new "Import Data Comparison" page
to accept or cancel the import.

When saving the game, it will save to Steam Cloud & to filesystem if the
options are enabled.

Add automatic game restore

Detects when the player has access to a newer game that has been saved
more recently than the one being loaded. It checks both in the Steam
Cloud and on the local filesystem. Adds an option to disable the
feature.

- Adds a "Save Game" menu item that triggers the game's save.
- Adds a "Export Game" menu item that triggers the download file popup.
- Adds a "Export Scripts" menu item that triggers the "download *"
terminal command.
- Adds a "Load Last Save" menu item that loads the latest file modified
in the user data folder.
- Adds a "Load from Steam Cloud" menu item.
- Adds a "Load From File" menu item that popups a file selector & loads
the file.
- Adds settings for "Saves Compression (.gz)", "Auto-save Backups" &
"Auto-save to Steam", toggleable through the menu.
- Adds a "Open Game Data","Open Saves", "Open Logs" & "Open User Data" menu items.
- Adds a "Quit" menu item.
2022-01-26 03:56:19 -05:00