mirror of
https://github.com/aliasvault/aliasvault.git
synced 2026-05-06 06:15:47 -04:00
Update browser extension output path (#581)
This commit is contained in:
@@ -42,7 +42,7 @@ jobs:
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: aliasvault-chrome-extension-${{ github.event_name == 'release' && github.ref_name || (github.ref_name == 'main' && format('main-{0}', github.sha) || github.sha) }}
|
||||
path: browser-extension/.output/chrome-mv3/
|
||||
path: browser-extension/dist/chrome-mv3/
|
||||
|
||||
upload-release-assets:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -56,11 +56,11 @@ jobs:
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: aliasvault-chrome-extension-${{ github.ref_name }}
|
||||
path: browser-extension/.output/chrome-mv3/
|
||||
path: browser-extension/dist/chrome-mv3/
|
||||
|
||||
- name: Zip Chrome Extension
|
||||
run: |
|
||||
cd browser-extension/.output/chrome-mv3
|
||||
cd browser-extension/dist/chrome-mv3
|
||||
zip -r ../../../aliasvault-chrome-extension-${{ github.ref_name }}.zip .
|
||||
|
||||
- name: Upload Chrome Extension ZIP to Release
|
||||
|
||||
1
browser-extension/.gitignore
vendored
1
browser-extension/.gitignore
vendored
@@ -9,6 +9,7 @@ lerna-debug.log*
|
||||
|
||||
node_modules
|
||||
.output
|
||||
dist
|
||||
stats.html
|
||||
stats-*.json
|
||||
.wxt
|
||||
|
||||
@@ -27,6 +27,7 @@ export default defineConfig({
|
||||
extensionApi: 'chrome',
|
||||
modules: ['@wxt-dev/module-react'],
|
||||
srcDir: 'src',
|
||||
outDir: 'dist',
|
||||
vite: () => ({
|
||||
plugins: [
|
||||
identityGenDictLoader(),
|
||||
|
||||
@@ -22,9 +22,9 @@ This guide explains how to build and install the AliasVault Google Chrome extens
|
||||
git clone https://github.com/lanedirt/AliasVault.git
|
||||
```
|
||||
|
||||
2. Navigate to the Google Chrome extension directory:
|
||||
2. Navigate to the Browser Extension directory:
|
||||
```bash
|
||||
cd AliasVault/browser-extensions/chrome
|
||||
cd AliasVault/browser-extension
|
||||
```
|
||||
|
||||
3. Install the required dependencies:
|
||||
@@ -42,7 +42,7 @@ npm run build
|
||||
1. Open Google Chrome and go to `chrome://extensions/`
|
||||
2. Enable "Developer mode" using the toggle in the top right corner
|
||||
3. Click "Load unpacked"
|
||||
4. Navigate to and select the `dist` folder inside `browser-extensions/chrome`
|
||||
4. Navigate to and select the folder `browser-extension/dist/chrome-mv3`
|
||||
5. The AliasVault extension should now appear in your extensions list
|
||||
|
||||
## Development Mode (Optional)
|
||||
|
||||
Reference in New Issue
Block a user