Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
nxt-app-electron
Advanced tools
This is the desktop app for Mac and Windows. It's a simple app, built mainly to load a URL for a nxtedition hub. In order to do that, a small settings windows exists (built using React) for users to choose a URL to load. It will find all mdns services of
This is the desktop app for Mac and Windows. It's a simple app, built mainly to load a URL for a nxtedition hub. In order to do that, a small settings windows exists (built using React) for users to choose a URL to load. It will find all mdns services of type nxt-hub
by default, but a manual URL can also be entered (which is useful when developing).
The app is built, signed and then published to a AWS S3 bucket, all using electron-builder. The most important files to note from the build are the .dmg and .zip for mac (zip is needed for auto updates to work), and the .exe file for windows. Along with those, a few "latest" metadata files are also published for the checking of new updates to work.
The app will check for new updates every 4 hours. If a new update is found it will be downloaded immediately, and installed once the user has restarted the app. Therefore, we'll also notify the user once an update has been downloaded.
Settings are stored locally on the user's machine. When changed, all settings will be applied immediately.
The URL to load the in the app, should point to a nxtedition hub. All hubs
that broadcast a mdns service of type nxt-hub
will be picked up automatically.
Whether to show the app in fullscreen. Users can always toggle the fullscreen mode manually using window controls or keyboard shortcuts, but those won't affect how it launches.
Whether to show the app in display mode. When true, /device
will be appended to the server URL, effectively putting the device in display mode.
# run application in development mode using webpack
yarn dev
Building for mac is only possible on machines running OS X.
When signing the app, the required certificates (developerID_application.p12 and Boffins Technologies AB.pfx) will be looked for in ~/.certs/nxtedition. You'll find those files in Google Drive.
In order to publish the built files to S3, you need to have your AWS credentials setup properly. If you haven't already, create a file ~/.aws/credentials
and specify your keys:
[default] ; default profile
aws_access_key_id = YOUR_KEY_ID
aws_secret_access_key = YOUR_ACCESS_KEY
To run the scripts for generating icons and performing the actual build, the /build
directory must have write permissions:
chmod -R +x /build
# create new version, build, sign and publish to S3
yarn version --new-version ${version}
# build, sign and publish to S3
yarn publish
# create a signed build, but do not publish it
yarn build
# compile source code and create webpack output
yarn compile
This is only for when building new icons.
We use ImageMagick and iconutil to generate .icns and .ico files from a 1024x1024 png file (should be /build/icon.png
). While they aren't technically necessary, the result is much better, so make sure you have those tools installed before running:
# generate .ico and .icns files from the icon.png file in /build
yarn build:icons
FAQs
This is the desktop app for Mac and Windows. It's a simple app, built mainly to load a URL for a nxtedition hub. In order to do that, a small settings windows exists (built using React) for users to choose a URL to load. It will find all mdns services of
The npm package nxt-app-electron receives a total of 0 weekly downloads. As such, nxt-app-electron popularity was classified as not popular.
We found that nxt-app-electron demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.