This commit is contained in:
2026-08-26 09:58:35 +08:00
parent 60ff42d0ce
commit f0dafe3b1d
20 changed files with 49 additions and 3 deletions
+10 -2
View File
@@ -16,14 +16,22 @@
"autoclose" : true,
"delay" : 0
},
"modules" : {},
"modules" : {
"Barcode" : {},
"Bluetooth" : {},
"Camera" : {},
"Contacts" : {},
"UIWebview" : {}
},
"distribute" : {
"android" : {
"packagename" : "com.baiyuelogistics.pda.overseas",
"permissions" : [],
"abiFilters" : [ "armeabi-v7a", "arm64-v8a" ]
},
"ios" : {},
"ios" : {
"dSYMs" : false
},
"sdkConfigs" : {},
"icons" : {
"android" : {
Binary file not shown.

After

Width:  |  Height:  |  Size: 87 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 889 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

+23
View File
@@ -0,0 +1,23 @@
import test from 'node:test'
import assert from 'node:assert/strict'
import { createHash } from 'node:crypto'
import { readFile } from 'node:fs/promises'
const iconNames = [
'20x20.png', '29x29.png', '40x40.png', '58x58.png', '60x60.png',
'72x72.png', '76x76.png', '80x80.png', '87x87.png', '96x96.png',
'120x120.png', '144x144.png', '152x152.png', '167x167.png',
'180x180.png', '192x192.png', '1024x1024.png'
]
const digest = (value) => createHash('sha256').update(value).digest('hex')
test('HBuilderX root icons and CLI source icons remain identical', async () => {
for (const name of iconNames) {
const [rootIcon, sourceIcon] = await Promise.all([
readFile(new URL(`../static/app-icons/${name}`, import.meta.url)),
readFile(new URL(`../src/static/app-icons/${name}`, import.meta.url))
])
assert.equal(digest(rootIcon), digest(sourceIcon), `${name} must match in both icon roots`)
}
})
+16 -1
View File
@@ -2,5 +2,20 @@ import { defineConfig } from 'vite'
import uni from '@dcloudio/vite-plugin-uni'
export default defineConfig({
plugins: [uni()]
plugins: [uni()],
css: {
preprocessorOptions: {
scss: {
// DCloud uni-scss still uses APIs deprecated by the bundled Dart Sass.
// Keep real Sass warnings/errors visible while hiding these known notices.
silenceDeprecations: [
'legacy-js-api',
'import',
'global-builtin',
'color-functions',
'if-function'
]
}
}
}
})