Update README and build files
This commit is contained in:
18
README.md
18
README.md
@ -1,5 +1,23 @@
|
|||||||
# opvault.js
|
# opvault.js
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
## Lecteur de coffres OnePassword libre
|
||||||
|
|
||||||
|
Lire vos coffres OnePassword sur n’importe quelle plateforme. Pour commencer, vous pouvez [télécharger une version compilée](./releases) pour votre système d’exploitation, ou [suivre les instructions de compilation](#build) ci-dessous.
|
||||||
|
|
||||||
|
## OnePassword Vault Reader
|
||||||
|
|
||||||
|
Read your OnePassword vaults on all platform. To start, you can [download a prebuilt binary](./releases) for your OS, or [follow the build instructions](#build) below.
|
||||||
|
|
||||||
|
## Build
|
||||||
|
|
||||||
|
```sh
|
||||||
|
pnpm install
|
||||||
|
cd packages/web
|
||||||
|
pnpm run bundle
|
||||||
|
```
|
||||||
|
|
||||||
## Test
|
## Test
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
|
@ -4,7 +4,6 @@
|
|||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"repository": "https://git.aet.ac/aet/opvault.js.git",
|
"repository": "https://git.aet.ac/aet/opvault.js.git",
|
||||||
"private": true,
|
"private": true,
|
||||||
"license": "UNLICENSED",
|
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"design": "marked -o design.html < design.md",
|
"design": "marked -o design.html < design.md",
|
||||||
"test": "node --expose-gc node_modules/mocha/bin/_mocha test/**/*.test.ts",
|
"test": "node --expose-gc node_modules/mocha/bin/_mocha test/**/*.test.ts",
|
||||||
|
21
packages/web/electron-builder.yml
Normal file
21
packages/web/electron-builder.yml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
# yaml-language-server: $schema=https://raw.githubusercontent.com/electron-userland/electron-builder/master/packages/app-builder-lib/scheme.json
|
||||||
|
|
||||||
|
appId: com.proteria.opvault
|
||||||
|
productName: OPVault Viewer
|
||||||
|
files:
|
||||||
|
- "**/*"
|
||||||
|
icon: dist/512x512.png
|
||||||
|
directories:
|
||||||
|
output: bundle
|
||||||
|
app: dist
|
||||||
|
buildResources: build
|
||||||
|
linux:
|
||||||
|
executableName: opvault
|
||||||
|
category: Utility
|
||||||
|
icon: 512x512.png
|
||||||
|
artifactName: ${productName}-${version}-${arch}.${ext}
|
||||||
|
target:
|
||||||
|
- target: AppImage
|
||||||
|
arch:
|
||||||
|
- x64
|
||||||
|
- arm64
|
@ -33,26 +33,5 @@
|
|||||||
"sass": "^1.43.4",
|
"sass": "^1.43.4",
|
||||||
"typescript": "^4.3.2",
|
"typescript": "^4.3.2",
|
||||||
"vite": "^2.6.4"
|
"vite": "^2.6.4"
|
||||||
},
|
|
||||||
"build": {
|
|
||||||
"appId": "com.proteria.opvault",
|
|
||||||
"productName": "OPVault Viewer",
|
|
||||||
"files": [
|
|
||||||
"**/*"
|
|
||||||
],
|
|
||||||
"icon": "dist/512x512.png",
|
|
||||||
"directories": {
|
|
||||||
"output": "bundle",
|
|
||||||
"app": "dist",
|
|
||||||
"buildResources": "build"
|
|
||||||
},
|
|
||||||
"linux": {
|
|
||||||
"executableName": "opvault",
|
|
||||||
"category": "Utility",
|
|
||||||
"icon": "512x512.png",
|
|
||||||
"target": [
|
|
||||||
"AppImage"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user