Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
BuZZ-T committed Dec 12, 2021
1 parent cd2785f commit af244da
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion commons/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,6 @@ export const DEFAULT_SINGLE_CONFIG: IChromeSingleConfig = {
store: true,
download: true,
downloadFolder: null,
single: '10.0.0.0',
single: new ComparableVersion(10, 0, 0, 0),
quiet: false,
}
5 changes: 3 additions & 2 deletions examples/example-download-single.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { downloadChromium } from 'rusted-chromium';
import { downloadChromium } from 'rusted-chromium'
import { ComparableVersion } from '../commons/ComparableVersion'

downloadChromium({
single: '98.0.4707.2',
single: new ComparableVersion(98, 0, 4707, 2),
os: 'linux',
arch: 'x64',
})
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"prebuild": "npm run clean",
"build": "tsc -p tsconfig.json",
"build:silent": "npm run build -- --noEmit",
"build:examples": "cd examples/ && npm run build",
"release": "npm run build && npm publish",
"release-github": "npm run build && npm publish --registry=https://npm.pkg.github.com/"
},
Expand Down

0 comments on commit af244da

Please sign in to comment.