@@ -14,6 +14,7 @@
|
|||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
"dev-host": "vite --host 0.0.0.0",
|
"dev-host": "vite --host 0.0.0.0",
|
||||||
"build": "vite build && npm run typecheck",
|
"build": "vite build && npm run typecheck",
|
||||||
|
"build:package": "npm run build && bash package.sh ${npm_package_version}",
|
||||||
"build-test": "vite build --mode testing && npm run typecheck",
|
"build-test": "vite build --mode testing && npm run typecheck",
|
||||||
"typecheck": "tsc",
|
"typecheck": "tsc",
|
||||||
"clean": "rimraf dist .eslintrc-auto-import.json auto-imports.d.ts",
|
"clean": "rimraf dist .eslintrc-auto-import.json auto-imports.d.ts",
|
||||||
|
|||||||
20
package.sh
Normal file
20
package.sh
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
FILE_NAME=oxygen-ui${1:+-v$1}
|
||||||
|
GZ_FILE_NAME=${FILE_NAME}.tar.gz
|
||||||
|
ZIP_FILE_NAME=${FILE_NAME}.zip
|
||||||
|
|
||||||
|
cp -r dist ${FILE_NAME}
|
||||||
|
|
||||||
|
tar -czvf ${GZ_FILE_NAME} ${FILE_NAME}
|
||||||
|
zip -rv9 ${ZIP_FILE_NAME} ${FILE_NAME}
|
||||||
|
|
||||||
|
md5sum ${GZ_FILE_NAME} | awk '{ print $1 }' > ${GZ_FILE_NAME}.md5
|
||||||
|
sha1sum ${GZ_FILE_NAME} | awk '{ print $1 }' > ${GZ_FILE_NAME}.sha1
|
||||||
|
sha256sum ${GZ_FILE_NAME} | awk '{ print $1 }' > ${GZ_FILE_NAME}.sha256
|
||||||
|
sha512sum ${GZ_FILE_NAME} | awk '{ print $1 }' > ${GZ_FILE_NAME}.sha512
|
||||||
|
|
||||||
|
md5sum ${ZIP_FILE_NAME} | awk '{ print $1 }' > ${ZIP_FILE_NAME}.md5
|
||||||
|
sha1sum ${ZIP_FILE_NAME} | awk '{ print $1 }' > ${ZIP_FILE_NAME}.sha1
|
||||||
|
sha256sum ${ZIP_FILE_NAME} | awk '{ print $1 }' > ${ZIP_FILE_NAME}.sha256
|
||||||
|
sha512sum ${ZIP_FILE_NAME} | awk '{ print $1 }' > ${ZIP_FILE_NAME}.sha512
|
||||||
BIN
public/logo.png
BIN
public/logo.png
Binary file not shown.
|
Before Width: | Height: | Size: 43 KiB After Width: | Height: | Size: 23 KiB |
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 978 B After Width: | Height: | Size: 6.9 KiB |
@@ -14,7 +14,6 @@
|
|||||||
-ms-overflow-style: none;
|
-ms-overflow-style: none;
|
||||||
|
|
||||||
.hide-scrollbar-content {
|
.hide-scrollbar-content {
|
||||||
width: fit-content;
|
|
||||||
min-width: 100%;
|
min-width: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 739 B After Width: | Height: | Size: 6.9 KiB |
Reference in New Issue
Block a user