1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-12-13 10:11:50 +00:00
tobspr_shapez.io/electron
Даниїл Григор'єв c836589d9b
Rewrite the Electron wrapper (#47)
* Migrate Electron wrapper to ESM

Use ESM syntax for main process, move some fs usages to fs.promises,
switch to import.meta.url/import.meta.dirname to handle file paths;
clean up redundant code.

* Add TypeScript support to Electron wrapper

The support is very basic, tsc is used to transpile code. Build scripts
are modified to not copy any Electron code other than preload.cjs and
use an extremely cursed setup to call the TypeScript compiler.

* [TS] Rename platform/storage

* Rewrite Electron wrapper

MVP, missing some features from the old wrapper and most planned
features. Some of the functionality hasn't been verified.
2025-03-21 16:30:13 +02:00
..
src Rewrite the Electron wrapper (#47) 2025-03-21 16:30:13 +02:00
favicon.icns Update favicon and improve loading time 2022-06-16 09:58:12 +02:00
favicon.ico Update favicon and improve loading time 2022-06-16 09:58:12 +02:00
favicon.png Update favicon and improve loading time 2022-06-16 09:58:12 +02:00
package.json Rewrite the Electron wrapper (#47) 2025-03-21 16:30:13 +02:00
preload.cjs Rewrite the Electron wrapper (#47) 2025-03-21 16:30:13 +02:00
tsconfig.json Rewrite the Electron wrapper (#47) 2025-03-21 16:30:13 +02:00
yarn.lock Rewrite the Electron wrapper (#47) 2025-03-21 16:30:13 +02:00