Skip to content

Commit

Permalink
fix(deploy): remove ChromeWebStore
Browse files Browse the repository at this point in the history
  • Loading branch information
ted423 committed Sep 3, 2022
1 parent 8915cee commit 27ca7ad
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions deploy/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import Package from "./package";
import ChromeWebStore from "./chrome";
import * as program from "commander";

class Deployer {
Expand All @@ -13,7 +12,6 @@ class Deployer {
.version("0.0.1")
.option("-p, --package", "打包文件")
.option("-z, --zip", "打包文件")
.option("-c, --chrome", "发布至 Chrome Web Store")
.action(options => {
this.options = options;
this.init();
Expand All @@ -39,14 +37,6 @@ class Deployer {
* 发布至应用市场
* @param file
*/
private publish(file?: string) {
if (this.options.chrome) {
const chromeWebStore = new ChromeWebStore(file);
chromeWebStore.upload().then(() => {
chromeWebStore.publish();
});
}
}
}

new Deployer();

0 comments on commit 27ca7ad

Please sign in to comment.