1 Commits
1.0.0 ... 0.1.5

Author SHA1 Message Date
db8688d255 🚀New package version 0.1.5 [CI SKIP] 2021-04-13 16:37:30 +00:00
6 changed files with 10 additions and 3918 deletions

View File

@@ -12,13 +12,6 @@ get:
path: odit-git-bot
name: sshkey
---
kind: secret
name: ci_token
get:
path: odit-ci-bot
name: apikey
---
kind: pipeline
type: kubernetes
@@ -27,7 +20,7 @@ name: build:tag
steps:
- name: run electron packager
depends_on: ["clone"]
image: registry.odit.services/hub/library/node:19.9.0-alpine3.16
image: node:15.11.0-alpine3.13
commands:
- apk add git zip -f
- yarn
@@ -50,13 +43,6 @@ steps:
- sha512
- adler32
- crc32
- name: trigger live build
depends_on: ["gitea_release"]
image: idcooldi/drone-webhook
settings:
urls: https://ci.odit.services/api/repos/lfk/scanclient-live/builds?SOURCE_TAG=${DRONE_TAG}
bearer:
from_secret: ci_token
trigger:
event:
- tag
@@ -68,24 +54,14 @@ name: prepare:tag
steps:
- name: bump package version
image: registry.odit.services/hub/library/node:19.9.0-alpine3.16
image: node:alpine
commands:
- npm --no-git-tag-version version ${SOURCE_TAG}
- name: push new version to repo
image: appleboy/drone-git-push
settings:
commit: true
commit_message: 🚀New package version ${SOURCE_TAG} [CI SKIP]
author_email: bot@odit.services
followtags: false
branch: main
remote: git@git.odit.services:lfk/scanclient-electron.git
skip_verify: true
ssh_key:
from_secret: git_ssh
- name: tag
- name: commit & tag
image: alpine/git
commands:
- git add .
- git commit -m "🚀New package version ${SOURCE_TAG} [CI SKIP]"
- git tag ${SOURCE_TAG} -a -m "Release ${SOURCE_TAG}"
- name: push to repo
image: appleboy/drone-git-push
@@ -93,7 +69,6 @@ steps:
commit: false
author_email: bot@odit.services
followtags: true
branch: main
remote: git@git.odit.services:lfk/scanclient-electron.git
skip_verify: true
ssh_key:

1
.npmrc
View File

@@ -1 +0,0 @@
node-linker=hoisted

View File

@@ -1,19 +1,3 @@
# scanclient-electron
electron packaged scanclient
## Package
> Automagicly discovers your os and selects the right packager
```
pnpm i
pnpm build
```
## Bundle as MSI
> You need to install the [WiX MSI Buildtools](https://wixtoolset.org/docs/wix3/) first
```
pnpm i
pnpm build:msi
```
electron packaged scanclient

Binary file not shown.

Before

Width:  |  Height:  |  Size: 112 KiB

View File

@@ -1,20 +1,19 @@
{
"name": "@lfk/scanclient-electron",
"version": "1.0.0",
"version": "0.1.5",
"description": "minimal electron application",
"main": "main.js",
"scripts": {
"download": "node download.js",
"build:msi": "node download.js && electron-forge make",
"build": "yarn download && yarn electron-forge package",
"electron:start": "electron-forge start"
"build": "yarn download && yarn electron:package",
"electron:start": "electron-forge start",
"electron:package": "electron-forge package"
},
"devDependencies": {
"@electron-forge/cli": "^6.0.0-beta.54",
"@electron-forge/maker-deb": "^6.0.0-beta.54",
"@electron-forge/maker-rpm": "^6.0.0-beta.54",
"@electron-forge/maker-squirrel": "^6.0.0-beta.54",
"@electron-forge/maker-wix": "^6.0.5",
"@electron-forge/maker-zip": "^6.0.0-beta.54",
"@taraus-he/tdunzip": "^1.0.4",
"axios": "^0.21.1",
@@ -40,15 +39,6 @@
"name": "lfk__scanclient"
}
},
{
"name": "@electron-forge/maker-wix",
"config": {
"manufacturer": "ODIT.Services",
"shortname": "LfKScan",
"name": "LfKScan",
"icon": "./favicon.ico"
}
},
{
"name": "@electron-forge/maker-deb",
"config": {}

3856
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff