@overwolf/ow-electron 34.5.4-beta.0 → 34.5.5-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -24,23 +24,23 @@ async function validateChecksums(folderPath) {
24
24
  for (const [fileName, expectedHash] of Object.entries(checksums)) {
25
25
  const filePath = path.join(folderPath, fileName);
26
26
 
27
- console.log(`\nFile: ${fileName}`);
28
- console.log(`Expected hash: ${expectedHash}`);
29
-
30
27
  if (fs.existsSync(filePath)) {
31
28
  const actualHash = await calculateFileHash(filePath);
32
- console.log(`Actual hash: ${actualHash}`);
33
29
  const matches = actualHash === expectedHash;
34
- console.log(`Match: ${matches}`);
35
-
36
- // Update checksums.json if hashes don't match
37
30
  if (!matches) {
31
+ console.log(`Actual hash: ${actualHash}`);
32
+ console.log(`File: ${fileName}`);
33
+ console.log(`Expected hash: ${expectedHash}`);
34
+ console.log(`Match: ${matches}`);
35
+ // Update checksums.json if hashes don't match
38
36
  console.log('Updating checksums.json with new hash...');
39
37
  checksums[fileName] = actualHash;
40
38
  hasUpdates = true;
39
+ } else {
40
+ console.log(`File: ${fileName} match`);
41
41
  }
42
42
  } else {
43
- console.log('File not found in specified directory');
43
+ console.log(`File: ${fileName} not found in specified directory`);
44
44
  }
45
45
  }
46
46
 
package/checksums.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
- "electron-api.json": "7cfbc13990047fe5917ad9cf3269f83c4759551a5c300011bf8eda3af96efabb",
3
- "ow-electron-v34.5.4-beta.0-darwin-arm64.zip": "aed16c98d4cf86d9ecb86c34da1bc1eb681225090251763061c6a3b9cfd5dd1f",
4
- "ow-electron-v34.5.4-beta.0-darwin-x64.zip": "2757469f8b2c39a536eb41517dd5bcb9182eb4bc34141f30312ca2633f3e2306",
5
- "ow-electron-v34.5.4-beta.0-linux-x64.zip": "47f7c4c8770def808ad4a16074e9df7b3fe5bc559777379a7413893e3d81100d",
6
- "ow-electron-v34.5.4-beta.0-linux-arm64.zip": "d4c1ea911c0453c7ad3faf3cb4d98e784427e5b3c8902a6eaca841b038003b1f",
7
- "ow-electron-v34.5.4-beta.0-linux-armv7l.zip": "048256f513e036df0f056c32b249b0ca48f6c3c0481b1e6bdc686df409289f8d",
8
- "ow-electron-v34.5.4-beta.0-win32-x64.zip": "d6090914a5d52e2e3324f0756b295747624dd376af6454edc8dd9f87d61c90e2",
9
- "ow-electron-v34.5.4-beta.0-win32-ia32.zip": "19f272b112ad2b2468caa3a01ceaa0f4ab83e100a0decdda36b261c0b584e848",
10
- "ow-electron-v34.5.4-beta.0-win32-arm64.zip": "912346508a25c56a0f4a5eeda466bb145cabcbff9e68b0f8759bf8847e01dab3",
11
- "electron.d.ts": "07e5f46c9cbf575aa42e18def188405a35cf18f6e0cfb462f499266b1811b43c"
2
+ "electron-api.json": "4066b0a9b54761afdd1ba52d67bf246bbe9719240312ec8658a432aa01827bd2",
3
+ "ow-electron-v34.5.5-beta.0-darwin-arm64.zip": "c74b919c76dbe43b9b1f5cdc658fcabec3091bcc0f5d24b5663aff7631e24362",
4
+ "ow-electron-v34.5.5-beta.0-darwin-x64.zip": "4ef44c66f837442af815b4bebc20ff8051dc274ea55b492922c57431fd47ebf1",
5
+ "ow-electron-v34.5.5-beta.0-linux-x64.zip": "560674f6a45b6c025e385fa9d9eb6131d19ba834a539366469935e2474a0c7f9",
6
+ "ow-electron-v34.5.5-beta.0-linux-arm64.zip": "f9847cdb521e82d1a64468dabf5b1dd51795504aaa55162399c2603fced60312",
7
+ "ow-electron-v34.5.5-beta.0-linux-armv7l.zip": "c5aa5f77ba3386f2989e330858e6a41b7293b3e741abc4146cf19b5a08b34473",
8
+ "ow-electron-v34.5.5-beta.0-win32-x64.zip": "be527dc740a6eee82d236708a424e00ec5c7633bff1e99839a09e312aae2e8fe",
9
+ "ow-electron-v34.5.5-beta.0-win32-ia32.zip": "6ef640e8a2e266a4e1f17f19663ef0595c5159262b4c9ee90cf8dfada27a2696",
10
+ "ow-electron-v34.5.5-beta.0-win32-arm64.zip": "0775c9a861fc1c018b6189123ac1c238074d5943ac769362054952ac1c665c0b",
11
+ "electron.d.ts": "efce6e4ac38694087fde1b7ba156035a327d9a1fc7581d2f5cf63bbeac5958f1"
12
12
  }