-
-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Start desktop implementation with nw.js (#129) #181
base: master
Are you sure you want to change the base?
Conversation
Slicing doesn't seem to do anything yet, does the error message |
i'm going to be tied up for a couple of weeks. the environment needs to support WASM even if that limits it to chromium since current and future code relies on it. |
Shouldn't be an issue, since nw.js uses Chromium. |
So if slicing doesn't work it's an indication that WASM isn't working yet in the desktop app? |
@stewartoallen, I think I know where that comes from, you have an infinite sym-link loop in https://github.com/GridSpace/grid-apps/tree/master/apps! Is that on purpose? |
The binary distribution is now created successfully with |
Slicing seems to work fine now in the Linux build. 👍🏻 |
I will review this next week when I have office space again. thanks for putting this together. |
Great, I'm just working on the build process in a GitHub Action workflow. 😁 |
I managed to bring down the size of the archives down pretty low now. You can test them by downloading the artifacts on https://github.com/pbek/grid-apps/actions/runs/1098788413 (don't get distracted by the artifacts that are zips in zips, that's a restriction of the artifact system, the github releases don't have that restriction) |
The build time is now down to under 5min too... |
Btw. the app name Line 2 in cb17b78
But the desktop build is customized for kiri:moto... |
The Windows build took "some" more work. 😅 https://github.com/pbek/grid-apps/actions/runs/1105929342 |
You did? 😁 |
just got back. is it possible to build on mac as well, or is this windows only? |
I had some issues building for Windows on Linux so I chose to build on Windows in the CI. If you are working on macOS you should at least have no issue building for macOS (and Linux) for testing. For releases I would suggest Github Actions. I can create you a workflow that could create a release for you. |
take a look at the full PWA implementation of Kiri:Moto that allows it to be "installed" as an app through the browser. once linked or added to your home screen, it does not require an internet connection to load and run. https://twitter.com/grid_space_3d/status/1565398789942386688 |
be3d40a
to
b526bec
Compare
This could be the start of the desktop implementation using https://nwjs.io/.
Starting the app already works.
But I still have some issues with building the desktop app for distribution.
Under Linux you can try a
npm run build:lin
and look into the directory./dist/grid-apps-3.0.15D-linux-x64/
.It never stops building and there are always more files generated.
If you look into
dist/grid-apps-3.0.15D-linux-x64/apps/grid/
you'll see what I mean. Any suggestions?