9drive 1.0.3 → 1.0.4
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.
- package/README.md +2 -2
- package/backend/dist/modules/system/system.routes.js +12 -5
- package/backend/public/assets/{index-sAYu4Fpp.js → index-BdvnnDEz.js} +30 -30
- package/backend/public/assets/index-C7bWEPbJ.css +2 -0
- package/backend/public/assets/{ort.bundle.min-DJ4PiNdC.js → ort.bundle.min-BWec8A6i.js} +1 -1
- package/backend/public/assets/{ort.webgpu.bundle.min-BmjguWk-.js → ort.webgpu.bundle.min-BJrZkBGK.js} +1 -1
- package/backend/public/index.html +2 -2
- package/backend/public/sw.js +1 -1
- package/bin/9drive.js +1 -0
- package/package.json +1 -1
- package/backend/public/assets/index-CriZZwHi.css +0 -2
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# 9Drive — Virtual Cloud Storage & Client-Side Productivity Suite
|
|
4
4
|
|
|
5
|
-
[](package.json)
|
|
6
6
|
[](https://www.npmjs.com/package/9drive)
|
|
7
7
|
[](LICENSE)
|
|
8
8
|
[]()
|
|
@@ -54,7 +54,7 @@ Setelah terpasang, cukup ketik perintah berikut dari direktori mana saja untuk m
|
|
|
54
54
|
|
|
55
55
|
## 🌟 Fitur Utama & Pembaruan Terkini
|
|
56
56
|
|
|
57
|
-
Repositori ini telah disesuaikan dan dikembangkan dengan penambahan serangkaian fitur produktivitas
|
|
57
|
+
Repositori ini telah disesuaikan dan dikembangkan dengan penambahan serangkaian fitur produktivitas:
|
|
58
58
|
|
|
59
59
|
### 1. 🎨 Antarmuka Google Drive Material Design 3 (MD3)
|
|
60
60
|
- **Tampilan Otentik Google Drive**: Navigasi sidebar dengan indikator pill aktif, floating search bar, breadcrumbs folder dinamis, surface elevation, dan palet warna resmi Google Drive (`#0B57D0`, background neutral, rounded cards).
|
|
@@ -27,19 +27,26 @@ function compareVersions(v1, v2) {
|
|
|
27
27
|
return 0;
|
|
28
28
|
}
|
|
29
29
|
exports.systemRouter.get('/version', async (_req, res) => {
|
|
30
|
-
let currentVersion = '1.0.
|
|
30
|
+
let currentVersion = process.env.NINEDRIVE_VERSION || '1.0.4';
|
|
31
31
|
try {
|
|
32
32
|
const pkgPaths = [
|
|
33
|
+
path_1.default.resolve(__dirname, '../../../../package.json'),
|
|
34
|
+
path_1.default.resolve(__dirname, '../../../package.json'),
|
|
35
|
+
path_1.default.resolve(__dirname, '../../package.json'),
|
|
33
36
|
path_1.default.resolve(process.cwd(), 'package.json'),
|
|
34
37
|
path_1.default.resolve(process.cwd(), '../package.json'),
|
|
35
|
-
path_1.default.resolve(__dirname, '../../../package.json'),
|
|
36
38
|
];
|
|
37
39
|
for (const p of pkgPaths) {
|
|
38
40
|
if (fs_1.default.existsSync(p)) {
|
|
39
41
|
const pkg = JSON.parse(fs_1.default.readFileSync(p, 'utf8'));
|
|
40
|
-
if (pkg.
|
|
41
|
-
|
|
42
|
-
|
|
42
|
+
if (pkg.version) {
|
|
43
|
+
if (pkg.name === '9drive') {
|
|
44
|
+
currentVersion = pkg.version;
|
|
45
|
+
break;
|
|
46
|
+
}
|
|
47
|
+
else if (!process.env.NINEDRIVE_VERSION) {
|
|
48
|
+
currentVersion = pkg.version;
|
|
49
|
+
}
|
|
43
50
|
}
|
|
44
51
|
}
|
|
45
52
|
}
|