Skip to content

Commit

Permalink
add back publisher-github
Browse files Browse the repository at this point in the history
  • Loading branch information
himbeles committed Aug 21, 2023
1 parent e6becd5 commit f0c6053
Show file tree
Hide file tree
Showing 6 changed files with 286 additions and 1 deletion.
31 changes: 31 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# This is a basic workflow to help you get started with Actions

name: Release

# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the main branch
release:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
release:
runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@master
with:
node-version: 14
- name: install dependencies
run: npm install
- name: publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npm run publish
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Kobold Token Getter

Simple UI for retrieving a Kobold authentication token that can be used in conjuction with the Homebridge plugin [homebridge-kobold](https://github.com/himbeles/homebridge-kobold).

You can download compiled binaries attached to the [releases](https://github.com/himbeles/kobold-token-get/releases).

Elsewise, run
```sh
npm install .
npm run package
```

![Screenshot.png](./Screenshot.png)
Binary file added Screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions forge.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,18 @@ const config: ForgeConfig = {
},
}),
],
publishers:[
{
name: "@electron-forge/publisher-github",
config: {
repository: {
owner: "himbeles",
name: "kobold-token-get"
},
draft: false
}
}
]
};

export default config;
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"@electron-forge/maker-zip": "^6.3.0",
"@electron-forge/plugin-auto-unpack-natives": "^6.3.0",
"@electron-forge/plugin-webpack": "^6.3.0",
"@electron-forge/publisher-github": "^6.4.0",
"@types/react": "^18.2.20",
"@types/react-dom": "^18.2.7",
"@typescript-eslint/eslint-plugin": "^5.0.0",
Expand Down
Loading

0 comments on commit f0c6053

Please sign in to comment.