Skip to content

Commit

Permalink
Remove Firefox-related build steps and configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
mrruby committed Mar 9, 2024
1 parent 4e85270 commit 5a80d06
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 70 deletions.
20 changes: 0 additions & 20 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,23 +84,3 @@ jobs:
client-id: ${{ secrets.EDGE_CLIENT_ID }}
client-secret: ${{ secrets.EDGE_CLIENT_SECRET }}
access-token-url: ${{ secrets.EDGE_ACCESS_TOKEN_URL }}

- name: Replace manifest
run: pnpm build:replaceForFirefox ${{ vars.FF_ID }}

- name: Build extension
run: pnpm build

- name: Zip the build
run: |
cd build
zip -r ../buildFF.zip .
cd ..
- name: Firefox upload & release
uses: cardinalby/[email protected]
with:
zipFilePath: buildFF.zip
extensionId: ${{ vars.FF_ID }}
jwtIssuer: ${{ secrets.FF_JWT_ISSUER }}
jwtSecret: ${{ secrets.FF_JWT_SECRET }}
45 changes: 0 additions & 45 deletions build-scripts/replaceForFirefox.cjs

This file was deleted.

1 change: 0 additions & 1 deletion holo-key-manager-js-client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ To fully utilize the Holo Key Manager JS Client, you need to install the Holo Ke

- [Chrome](https://chrome.google.com/webstore/detail/holo-key-manager/eggfhkdnfdhdpmkfpihjjbnncgmhihce)
- [Edge](https://microsoftedge.microsoft.com/addons/detail/jfecdgefjljjfcflgbhgfkbeofjenceh)
- [Mozilla](https://addons.mozilla.org/en-US/firefox/addon/holo-key-manager/)

## Installation and Usage

Expand Down
1 change: 0 additions & 1 deletion holo-key-manager-js-client/prebuild.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ const path = require('path');
const generateConfigContent = () => `
export const browserConfig = {
ChromeID: '${process.env.CHROME_ID}',
FirefoxID: '${process.env.FF_ID}',
EdgeID: '${process.env.EDGE_ID}'
};
`;
Expand Down
2 changes: 0 additions & 2 deletions holo-key-manager-js-client/src/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ import { browserConfig } from './browserConfig';
const getBrowserId = () => {
if (navigator.userAgent.indexOf('Chrome') !== -1) {
return browserConfig.ChromeID;
} else if (navigator.userAgent.indexOf('Firefox') !== -1) {
return browserConfig.FirefoxID;
} else if (navigator.userAgent.indexOf('Edge') !== -1) {
return browserConfig.EdgeID;
}
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"build:script": "tsc --p scripts/tsconfig.json",
"build:removeExport": "node build-scripts/removeExportFromScript.cjs",
"build:removeInline": "node build-scripts/removeInlineScript.cjs",
"build:replaceForFirefox": "node build-scripts/replaceForFirefox.cjs",
"preview": "vite preview",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
Expand Down

0 comments on commit 5a80d06

Please sign in to comment.