From fbf3c9b1bbeb230cc64bbc7486b277c8fb076afa Mon Sep 17 00:00:00 2001 From: aet Date: Sun, 7 Nov 2021 17:24:15 -0500 Subject: [PATCH] Update README and build files --- README.md | 18 ++++++++++++++++++ package.json | 1 - packages/web/electron-builder.yml | 21 +++++++++++++++++++++ packages/web/package.json | 21 --------------------- 4 files changed, 39 insertions(+), 22 deletions(-) create mode 100644 packages/web/electron-builder.yml diff --git a/README.md b/README.md index 11470c8..13e58c3 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,23 @@ # opvault.js +![License](https://img.shields.io/badge/license-TBD-blue) + +## 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 ```sh diff --git a/package.json b/package.json index 9b98d67..efe903b 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,6 @@ "main": "lib/index.js", "repository": "https://git.aet.ac/aet/opvault.js.git", "private": true, - "license": "UNLICENSED", "scripts": { "design": "marked -o design.html < design.md", "test": "node --expose-gc node_modules/mocha/bin/_mocha test/**/*.test.ts", diff --git a/packages/web/electron-builder.yml b/packages/web/electron-builder.yml new file mode 100644 index 0000000..da153ea --- /dev/null +++ b/packages/web/electron-builder.yml @@ -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 diff --git a/packages/web/package.json b/packages/web/package.json index 9b73559..7ebeefa 100644 --- a/packages/web/package.json +++ b/packages/web/package.json @@ -33,26 +33,5 @@ "sass": "^1.43.4", "typescript": "^4.3.2", "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" - ] - } } }