mirror of
https://github.com/smartfrigde/armcord.git
synced 2024-08-14 23:56:58 +00:00
t
This commit is contained in:
parent
b7f94d23f8
commit
635b685dd8
2 changed files with 6 additions and 8 deletions
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
|
@ -25,9 +25,8 @@ jobs:
|
||||||
# GitHub token, automatically provided to the action
|
# GitHub token, automatically provided to the action
|
||||||
# (No need to define this secret in the repo settings)
|
# (No need to define this secret in the repo settings)
|
||||||
github_token: ${{ secrets.github_token }}
|
github_token: ${{ secrets.github_token }}
|
||||||
build_script_name: 'ci'
|
|
||||||
# skip npm run build as there's no script like that
|
# skip npm run build as there's no script like that
|
||||||
skip_build: true
|
skip_build: false
|
||||||
# If the commit is tagged with a version (e.g. "v1.0.0"),
|
# If the commit is tagged with a version (e.g. "v1.0.0"),
|
||||||
# release the app after building
|
# release the app after building
|
||||||
release: ${{ startsWith(github.ref, 'refs/tags/v') }} #disabled for now as it caused problems (nvm)
|
release: ${{ startsWith(github.ref, 'refs/tags/v') }} #disabled for now as it caused problems (nvm)
|
||||||
|
|
11
package.json
11
package.json
|
@ -1,15 +1,14 @@
|
||||||
{
|
{
|
||||||
"name": "ArmCord",
|
"name": "ArmCord",
|
||||||
"version": "3.0.0",
|
"version": "2.9.9",
|
||||||
"description": "ArmCord is a custom client designed to enhance your Discord experience while keeping everything lightweight.",
|
"description": "ArmCord is a custom client designed to enhance your Discord experience while keeping everything lightweight.",
|
||||||
"main": "ts-out/main.js",
|
"main": "ts-out/main.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc",
|
"build": "tsc && copyfiles -u 1 src/**/*.html src/**/*.css ts-out/ && copyfiles package.json ts-out/ && copyfiles assets/** ts-out/",
|
||||||
"watch": "tsc -w",
|
"watch": "tsc -w",
|
||||||
"ci": "npm run build && npm run copy-files",
|
"start": "npm run build && electron ./ts-out/main.js",
|
||||||
"start": "npm run build && npm run copy-files && electron ./ts-out/main.js",
|
"package": "npm run build && electron-builder"
|
||||||
"package": "npm run build && npm run copy-files && electron-builder",
|
|
||||||
"copy-files": "copyfiles -u 1 src/**/*.html src/**/*.css ts-out/ && copyfiles package.json ts-out/ && copyfiles assets/** ts-out/"
|
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
Loading…
Reference in a new issue