Browse Source

slightly revert the revert

pull/46/head
coomdev 2 years ago
parent
commit
9cf014b54a
  1. 3
      chrome/dist/main.js
  2. 2
      chrome/manifest.json
  3. 3
      dist/main.js
  4. 2
      main.meta.js
  5. 5
      main.user.js
  6. 2
      src/png.ts

3
chrome/dist/main.js

@ -73,7 +73,7 @@
var define_BUILD_VERSION_default; var define_BUILD_VERSION_default;
var init_define_BUILD_VERSION = __esm({ var init_define_BUILD_VERSION = __esm({
"<define:BUILD_VERSION>"() { "<define:BUILD_VERSION>"() {
define_BUILD_VERSION_default = [0, 285]; define_BUILD_VERSION_default = [0, 286];
} }
}); });
@ -14201,7 +14201,6 @@
await this.writer.write(b); await this.writer.write(b);
} }
async dtor() { async dtor() {
this.writer.releaseLock();
await this.writer.close(); await this.writer.close();
} }
}; };

2
chrome/manifest.json

@ -2,7 +2,7 @@
"manifest_version": 3, "manifest_version": 3,
"name": "PngExtraEmbedder", "name": "PngExtraEmbedder",
"description": "Discover embedded files on 4chan and archives!", "description": "Discover embedded files on 4chan and archives!",
"version": "0.285", "version": "0.286",
"icons": { "icons": {
"64": "1449696017588.png" "64": "1449696017588.png"
}, },

3
dist/main.js

@ -73,7 +73,7 @@
var define_BUILD_VERSION_default; var define_BUILD_VERSION_default;
var init_define_BUILD_VERSION = __esm({ var init_define_BUILD_VERSION = __esm({
"<define:BUILD_VERSION>"() { "<define:BUILD_VERSION>"() {
define_BUILD_VERSION_default = [0, 285]; define_BUILD_VERSION_default = [0, 286];
} }
}); });
@ -14201,7 +14201,6 @@
await this.writer.write(b); await this.writer.write(b);
} }
async dtor() { async dtor() {
this.writer.releaseLock();
await this.writer.close(); await this.writer.close();
} }
}; };

2
main.meta.js

@ -1,7 +1,7 @@
// ==UserScript== // ==UserScript==
// @name PNGExtraEmbed // @name PNGExtraEmbed
// @namespace https://coom.tech/ // @namespace https://coom.tech/
// @version 0.285 // @version 0.286
// @description uhh // @description uhh
// @author You // @author You
// @match https://boards.4channel.org/* // @match https://boards.4channel.org/*

5
main.user.js

@ -1,7 +1,7 @@
// ==UserScript== // ==UserScript==
// @name PNGExtraEmbed // @name PNGExtraEmbed
// @namespace https://coom.tech/ // @namespace https://coom.tech/
// @version 0.285 // @version 0.286
// @description uhh // @description uhh
// @author You // @author You
// @match https://boards.4channel.org/* // @match https://boards.4channel.org/*
@ -109,7 +109,7 @@ const _DOMParser = DOMParser;
var define_BUILD_VERSION_default; var define_BUILD_VERSION_default;
var init_define_BUILD_VERSION = __esm({ var init_define_BUILD_VERSION = __esm({
"<define:BUILD_VERSION>"() { "<define:BUILD_VERSION>"() {
define_BUILD_VERSION_default = [0, 285]; define_BUILD_VERSION_default = [0, 286];
} }
}); });
@ -14237,7 +14237,6 @@ const _DOMParser = DOMParser;
await this.writer.write(b); await this.writer.write(b);
} }
async dtor() { async dtor() {
this.writer.releaseLock();
await this.writer.close(); await this.writer.close();
} }
}; };

2
src/png.ts

@ -87,7 +87,7 @@ export class PNGEncoder {
} }
async dtor() { async dtor() {
this.writer.releaseLock(); //this.writer.releaseLock();
await this.writer.close(); await this.writer.close();
} }
} }

Loading…
Cancel
Save