π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Remove unused files
Manav Rathidf13eac6efef
diff --git a/desktop/.yarnrc b/desktop/.yarnrcdeleted file mode 100644index 02b1010b3d..0000000000--- a/desktop/.yarnrc+++ /dev/null@@ -1 +0,0 @@-network-timeout 500000diff --git a/desktop/deployment.md b/desktop/deployment.mddeleted file mode 100644index b3cf1ac3bc..0000000000--- a/desktop/deployment.md+++ /dev/null@@ -1,25 +0,0 @@-Notes on how to upload electron symbols directly to sentry instance (bypassing the CF limits) cc @abhi just for future reference--To upload electron symbols--1. Create a tunnel-```-ssh -p 7426 -N -L 8080:localhost:9000 sentry-```--2. Add the following env file-```-NEXT_PUBLIC_IS_SENTRY_ENABLED = yes-SENTRY_ORG = ente-SENTRY_PROJECT = bhari-frame-SENTRY_URL2 = https://sentry.ente.io/-SENTRY_URL = http://localhost:8080/-SENTRY_AUTH_TOKEN = xxx-SENTRY_LOG_LEVEL = debug-```--3. Run--```-node sentry-symbols.js-```\ No newline at end of filediff --git a/desktop/sentry-symbols.js b/desktop/sentry-symbols.jsdeleted file mode 100644index 955cda5f51..0000000000--- a/desktop/sentry-symbols.js+++ /dev/null@@ -1,94 +0,0 @@-#!/usr/bin/env node--let SentryCli;-let download;--try {- SentryCli = require('@sentry/cli');- download = require('electron-download');-} catch (e) {- console.error('ERROR: Missing required packages, please run:');- console.error('npm install --save-dev @sentry/cli electron-download');- process.exit(1);-}--const SYMBOL_CACHE_FOLDER = '.electron-symbols';-const sentryCli = new SentryCli('./sentry.properties');--async function main() {- const version = getElectronVersion();- if (!version) {- console.error('Cannot detect electron version, check that electron is installed');- return;- }-- console.log('We are starting to download all possible electron symbols');- console.log('We need it in order to symbolicate native crashes');- console.log(- 'This step is only needed once whenever you update your electron version',- );- console.log('Just call this script again it should do everything for you.');-- let zipPath = await downloadSymbols({- version,- platform: 'darwin',- arch: 'x64',- dsym: true,- });- await sentryCli.execute(['upload-dif', '-t', 'dsym', zipPath], true);-- zipPath = await downloadSymbols({- version,- platform: 'win32',- arch: 'ia32',- symbols: true,- });- await sentryCli.execute(['upload-dif', '-t', 'breakpad', zipPath], true);-- zipPath = await downloadSymbols({- version,- platform: 'win32',- arch: 'x64',- symbols: true,- });- await sentryCli.execute(['upload-dif', '-t', 'breakpad', zipPath], true);-- zipPath = await downloadSymbols({- version,- platform: 'linux',- arch: 'x64',- symbols: true,- });- await sentryCli.execute(['upload-dif', '-t', 'breakpad', zipPath], true);-- console.log('Finished downloading and uploading to Sentry');- console.log(`Feel free to delete the ${SYMBOL_CACHE_FOLDER}`);-}--function getElectronVersion() {- try {- return require('electron/package.json').version;- } catch (error) {- return undefined;- }-}--async function downloadSymbols(options) {- return new Promise((resolve, reject) => {- download(- {- ...options,- cache: SYMBOL_CACHE_FOLDER,- },- (err, zipPath) => {- if (err) {- reject(err);- } else {- resolve(zipPath);- }- },- );- });-}--main().catch(e => console.error(e));