Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
advaithm committed Jul 31, 2020
2 parents 8198c7b + 9f3d3da commit af05135
Show file tree
Hide file tree
Showing 109 changed files with 61,277 additions and 1,112 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ JAMENDO_CLIENT_ID=836523a7
LAST_FM_API_KEY=2b75dcb291e2b0c9a2c994aca522ac14
LAST_FM_API_SECRET=2ee49e35f08b837d43b2824198171fc8
SOUNDCLOUD_API_KEY=22e8f71d7ca75e156d6b2f0e0a5172b3
YOUTUBE_API_KEY=AIzaSyCIM4EzNqi1in22f4Z3Ru3iYvLaY8tc3bo
YOUTUBE_API_KEY=AIzaSyCkMLHynwJgJYQoGaIResXZxKUbC2euFfw
9 changes: 7 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,15 @@ jobs:
build:

runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
timeout-minutes: 20
os: [ubuntu-latest, macOS-latest]
experimental: [false]
include:
- os: windows-latest
experimental: true
timeout-minutes: 12

steps:
- uses: actions/checkout@master
Expand Down
63 changes: 63 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
name: Release job

on:
workflow_dispatch:
inputs:
tag:
description: 'tag to build'
required: true
release_name:
description: 'release name'
required: true

jobs:
linux_release:
runs-on: ubuntu-latest
timeout-minutes: 20

steps:
- uses: actions/checkout@master
- name: Use Node.js 11.x
uses: actions/setup-node@v1
with:
version: 11.x
- name: npm install and build
run: |
npm install
npm run build:linux
shell: bash
env:
GITHASH: ${{github.event.inputs.tag}}
- name: Upload binaries
uses: actions/upload-artifact@v2
with:
name: nuclear-binaries
path: release/*.*

windows_release:
runs-on: windows-latest
timeout-minutes: 20

steps:
- uses: actions/checkout@master
- name: Use Node.js 11.x
uses: actions/setup-node@v1
with:
version: 11.x
- name: npm install and build
run: |
npm install
cd packages/app
npm run build
cd ../main
npm run build
cd ../..
npm run pack
shell: bash
env:
GITHASH: ${{github.event.inputs.tag}}
- name: Upload binaries
uses: actions/upload-artifact@v2
with:
name: nuclear-binaries
path: release/*.*
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,6 @@ nuclear.json
# Prettier configuration file
.prettierrc

# npm
package-lock.json

# vscode
.vscode/
jsconfig.json
Expand Down
1 change: 0 additions & 1 deletion .npmrc

This file was deleted.

37 changes: 0 additions & 37 deletions .travis.yml

This file was deleted.

17 changes: 9 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,9 @@ Here's a list of packages for various managers, most of which are maintained by
| Choco (Win) | https://chocolatey.org/packages/nuclear/ | [JourneyOver](https://github.com/JourneyOver) |
| Homebrew (Mac) | https://formulae.brew.sh/cask/nuclear | Homebrew |
| Snap | https://snapcraft.io/nuclear | [nukeop](https://github.com/nukeop) |
|flatpak |(to be publised) | [advaithm](https://github.com/advaithm)
big thanks to [ayyeve](https://github.com/ayyEve) for letting me (advaithm) use her server as a compile machince.
|Flatpak |(to be approved) | [advaithm](https://github.com/advaithm) |

big thanks to [ayyeve](https://github.com/ayyEve) for letting me (advaithm) use her server as a compile machine.
## Community translations
Nuclear has already been translated to several languages, and we're always looking for contributors who would like to add more. Below is a list of currently available languages, along with contributors who helped to translate Nuclear to that language.

Expand Down Expand Up @@ -113,21 +114,21 @@ You will need docker and docker-compose. You need to allow the root user to conn
$ xhost SI:localuser:root
$ sudo docker-compose up dev
```
as of now you can build a flatpak version. you will need to install gobject-introspection, and flatpak-builder. after this you will need to install the runtimes and depedencies required by flatapk-builder for the compile process. when this was written you will need the 19.08 version of these flatpaks.
As of now you can also build a flatpak version. You will need to install gobject-introspection, and flatpak-builder. After this you will need to install the runtimes and depedencies required by flatapk-builder for the compile process. You will need the 19.08 version of these flatpaks.
```shell
$ flatpak install flathub org.freedesktop.Platform
$ flatpak install flathub org.freedesktop.Sdk
$ flatpak install flathub io.atom.electron.BaseApp
```
next to build the project use the `--verbose` to get more out put
Next, to build the project (use the `--verbose` flag to get more output):
```shell
$ flatpak-builder build-dir org.flathub.nuclear.json
$ flatpak-builder build-dir org.js.nuclear.Nuclear.json
```
to run the built app
To run the built app:
```shell
$ flatpak-builder --run build-dir org.flathub.nuclear.json run.sh
$ flatpak-builder --run build-dir org.js.nuclear.Nuclear.json run.sh
```
you can turn the app to a local repo. currently the file builds the latest release.
You can turn the app to a local repo. currently the file builds the latest release.

## Screenshots
This will be updated as the program evolves.
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"packages": [
"packages/*"
],
"version": "0.6.3"
"version": "0.6.4"
}
Loading

0 comments on commit af05135

Please sign in to comment.