Closed flyxiv closed 1 month ago
put a "publish" option in package.json
publishing only supports NSIS, so i need the program to be installed via NSIS and not by zip file.
Seems like when you install nsis, all the files in win-unpacked is copied to Local/App. This means app needs everything that it needs to run in win-unpacked.
configuring all needed asset folders in dist to extraFiles solved the issue.
my source code repository is private, so make this repository a proxy for release.
add token
renamed repo to ffxiv_simhelper_public.
set publish settings in "build": "publish"
set GH_TOKEN in the machine I will release in
The solution above is temporary; I have to enter it every new session.
going to permanently add it using WIN environment variables settings
added using these steps
add a publish build yarn command
gh_token error?
using $env:GH_TOKEN="{TOKEN}" solves the issue.
doesn't show up in releases
it uploads as a draft: https://github.com/flyxiv/ffxiv_simhelper_public/releases
release publishes 3 assets
I installed only setup-0.0.1.exe and ran the file. works well
add auto-updater of electron-updater
added auto updater logic
yarn install to install new dependencies and build.
installed 0.0.2, now deploying 0.0.3 to see if they give notification
now notifies when there is new version available. updates and installs when restart is clicked
we can't make the user download the app whenever there's a new update. We make the app auto update if there are changes in release version.