Skip to content
Proyek

Tentang

Make sure you have the following tools installed before running the project:

Pengembangan web dan aplikasi

Cara angka ini diukur

Pertumbuhan bintang terukur

dalam 24 jam
0
dalam 7 hari
+1
dalam 15 hari
+2
dalam 1 bulan
Mengumpulkan riwayat

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

Drive Desktop

Windows

node Lines of Code Maintainability Rating Security Rating Reliability Rating Vulnerabilities Code Smells Duplicated Lines (%) Technical Debt Coverage Bugs

Addon

Lines of Code Maintainability Rating Security Rating Reliability Rating Vulnerabilities Code Smells Duplicated Lines (%) Technical Debt Coverage Bugs

Core

node Lines of Code Maintainability Rating Security Rating Reliability Rating Vulnerabilities Code Smells Duplicated Lines (%) Technical Debt Coverage Bugs

Setup

Windows

Prerequisites

Make sure you have the following tools installed before running the project:

nvm install 24
nvm use 24
  • node-gyp
npm install -g node-gyp

alt text alt text

Environment variables

Before running the application for the first time, you must create a .env file.

  • Copy the template file: cp .env.template .env
  • Fill in the required environment variables in .env.

Install and run

Fetch packages/core, which is a git submodule pointing at the internxt/drive-desktop-core repository, then build it — it has its own node_modules and is not an npm workspace, so the root install can't build it for you:

git submodule update --init --recursive
cd packages/core && npm ci && cd ../..
npm run build:core

Initialize the development environment:

npm run init:dev
npm run clamav # optional

Start the application:

npm run start

Troubleshooting

Electron Builder cannot create symbolic links

When running npm run package, Electron Builder may fail while extracting winCodeSign with an error similar to:

ERROR: Cannot create symbolic link: The client does not have a required privilege.

Enable Developer Mode in Windows Settings > System > For developers. Then clear Electron Builder's incomplete winCodeSign cache from PowerShell:

Remove-Item "$env:LOCALAPPDATA\electron-builder\Cache\winCodeSign" -Recurse -Force

Run npm run package again. Alternatively, run the terminal as Administrator.

Jelajahi proyek terkait

Memuat…