diff --git a/.drone.yml b/.drone.yml deleted file mode 100644 index 5d7e4ac..0000000 --- a/.drone.yml +++ /dev/null @@ -1,20 +0,0 @@ ---- -kind: pipeline -type: exec -name: Build on macOS - -clone: - retries: 3 - -platform: - os: darwin - arch: arm64 - -steps: -- name: Build - commands: - - yarn install - - yarn run build - - - mv dist/Penpot\ Desktop*.dmg dist/Penpot.dmg - - mv dist/Penpot\ Desktop*.zip dist/Penpot.zip \ No newline at end of file diff --git a/.env b/.env deleted file mode 100644 index 19d5a9f..0000000 --- a/.env +++ /dev/null @@ -1 +0,0 @@ -VERSION="v0.3.0" \ No newline at end of file diff --git a/.gitignore b/.gitignore index f3d2f08..4c1d80e 100644 --- a/.gitignore +++ b/.gitignore @@ -2,9 +2,5 @@ node_modules/ dist/ .idea/ .vscode/ -Penpot-Desktop.dmg .DS_Store -yarn.lock -package-lock.json -pnpm-lock.yaml -.yarn +.yarn/ \ No newline at end of file diff --git a/.yarn/install-state.gz b/.yarn/install-state.gz deleted file mode 100644 index 951dccd..0000000 Binary files a/.yarn/install-state.gz and /dev/null differ diff --git a/.yarnrc.yml b/.yarnrc.yml deleted file mode 100644 index 1e4dbd1..0000000 --- a/.yarnrc.yml +++ /dev/null @@ -1,3 +0,0 @@ -nodeLinker: node-modules -enableTelemetry: false -progressBarStyle: "simba" \ No newline at end of file diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 8b74c39..0000000 --- a/Dockerfile +++ /dev/null @@ -1,14 +0,0 @@ -# Use NodeJS with Alpine Linux as runtime -FROM node:20 AS runtime - -# Set the work directory -WORKDIR /penpot-desktop - -# Copy repo to the work directory -COPY . /penpot-desktop - -RUN apt update -RUN apt install git rpm -y - -# Enable yarn (Yarn is preferred) -CMD sh buildit.sh \ No newline at end of file diff --git a/README.md b/README.md index 6523bac..6679fd3 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,7 @@ ![Penpot Desktop](https://europe1.discourse-cdn.com/standard20/uploads/penpot/original/2X/b/bc6c290e4566bc12f8afa162bae80ffb20a7c7f5.jpeg) > This is unofficial software -Penpot Desktop - A desktop-like experience for Penpot | Product Hunt - -Written by Human, Not by AI +Penpot Desktop - A desktop-like experience for Penpot | Product Hunt Written by Human, Not by AI # Penpot Desktop Penpot Desktop delivers a desktop-like experience for Penpot users with the additional of integrating tabs to conveniently traverse back and forth between projects. Offline support is available through the select your own instance option in settings, as well as the theme settings that may be applied to either the entire desktop app or simply the Penpot dashboard. @@ -19,24 +17,25 @@ Developers: - [FAQ for Developers](https://sudovanilla.org/docs/penpot-desktop/FAQ-for-developers.md) - [Build Instructions](https://sudovanilla.org/docs/penpot-desktop/BUILD.md) -## Mentions of Penpot Desktop -[Is there a Desktop app option for Penpot?](https://community.penpot.app/t/is-there-a-desktop-app-option-for-penpot/2038) - Penpot Community +## Building +### Requirements + - [NodeJS](https://nodejs.org/) v20 + - [Python](https://www.python.org/) + - Supported OS: + - Windows 10 or newer + - macOS + - Linux -___ +### Install Packages +Before building anything, packages need to be installed first by your package manager, NodeJS should come with `npm` by default: +```bash +npm install +``` -# Support -Reach out to the maintainer at one of the following places: +> Other package managers such as Yarn, PNPM, or Bun also work. -- [Issues](https://sudovanilla.com/code/Korbs/Penpot-Desktop/issues) -- [Email](mailto:hello@sudovanilla.com) -- [Penpot Forums](https://community.penpot.app/u/korbs/summary) (DM or mention me) -- [Mastodon](https://fosstodon.org/@SudoVanilla) - -### Contributing -Please read [our contribution guidelines](https://sudovanilla.org/docs/penpot-desktop/CONTRIBUTING.md), and thank you for being involved! - -### Security -Penpot Desktop follows good practices of security, but 100% security cannot be assured. -Penpot Desktop is provided **"as is"** without any **warranty**. Use at your own risk. - -_For more information and to report security issues, please refer to our [security documentation](https://sudovanilla.org/docs/penpot-desktop/SECURITY.md)._ +### Run Build +Once packages are installed, with no issues, you can run the build command: +```bash +npm run build +``` \ No newline at end of file diff --git a/README.rst b/README.rst deleted file mode 100644 index 6523bac..0000000 --- a/README.rst +++ /dev/null @@ -1,42 +0,0 @@ -![Penpot Desktop](https://europe1.discourse-cdn.com/standard20/uploads/penpot/original/2X/b/bc6c290e4566bc12f8afa162bae80ffb20a7c7f5.jpeg) -> This is unofficial software - -Penpot Desktop - A desktop-like experience for Penpot | Product Hunt - -Written by Human, Not by AI - -# Penpot Desktop -Penpot Desktop delivers a desktop-like experience for Penpot users with the additional of integrating tabs to conveniently traverse back and forth between projects. Offline support is available through the select your own instance option in settings, as well as the theme settings that may be applied to either the entire desktop app or simply the Penpot dashboard. - -## Quick Links -Endusers: - - [FAQ](https://sudovanilla.org/docs/penpot-desktop/FAQ.md) - - Install [[Windows](https://sudovanilla.org/docs/penpot-desktop/install/WINDOWS.md), [Mac](https://sudovanilla.org/docs/penpot-desktop/install/MAC.md), [Linux](https://sudovanilla.org/docs/penpot-desktop/install/LINUX.md)] - - [System Requirements](https://sudovanilla.org/docs/penpot-desktop/install/INSTALL.md#system-requirements) - - [Changelog](https://sudovanilla.org/docs/penpot-desktop/CHANGELOG.md) - -Developers: - - [FAQ for Developers](https://sudovanilla.org/docs/penpot-desktop/FAQ-for-developers.md) - - [Build Instructions](https://sudovanilla.org/docs/penpot-desktop/BUILD.md) - -## Mentions of Penpot Desktop -[Is there a Desktop app option for Penpot?](https://community.penpot.app/t/is-there-a-desktop-app-option-for-penpot/2038) - Penpot Community - -___ - -# Support -Reach out to the maintainer at one of the following places: - -- [Issues](https://sudovanilla.com/code/Korbs/Penpot-Desktop/issues) -- [Email](mailto:hello@sudovanilla.com) -- [Penpot Forums](https://community.penpot.app/u/korbs/summary) (DM or mention me) -- [Mastodon](https://fosstodon.org/@SudoVanilla) - -### Contributing -Please read [our contribution guidelines](https://sudovanilla.org/docs/penpot-desktop/CONTRIBUTING.md), and thank you for being involved! - -### Security -Penpot Desktop follows good practices of security, but 100% security cannot be assured. -Penpot Desktop is provided **"as is"** without any **warranty**. Use at your own risk. - -_For more information and to report security issues, please refer to our [security documentation](https://sudovanilla.org/docs/penpot-desktop/SECURITY.md)._ diff --git a/build/.drone.yml b/build/.drone.yml deleted file mode 100644 index 5d7e4ac..0000000 --- a/build/.drone.yml +++ /dev/null @@ -1,20 +0,0 @@ ---- -kind: pipeline -type: exec -name: Build on macOS - -clone: - retries: 3 - -platform: - os: darwin - arch: arm64 - -steps: -- name: Build - commands: - - yarn install - - yarn run build - - - mv dist/Penpot\ Desktop*.dmg dist/Penpot.dmg - - mv dist/Penpot\ Desktop*.zip dist/Penpot.zip \ No newline at end of file diff --git a/buildit.sh b/buildit.sh deleted file mode 100644 index 82ecc01..0000000 --- a/buildit.sh +++ /dev/null @@ -1,4 +0,0 @@ -git pull -corepack enable -yarn -yarn run build \ No newline at end of file diff --git a/bun.lockb b/bun.lockb new file mode 100755 index 0000000..ea48ca1 Binary files /dev/null and b/bun.lockb differ diff --git a/package.json b/package.json index 583d724..8b0d2eb 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "electron" ], "main": "src/process/index.js", - "homepage": "https://sudovanilla.com/code/Korbs/Penpot-Desktop/", + "homepage": "https://ark.sudovanilla.org/Korbs/Penpot-Desktop/", "keywords": [ "design", "prototyping", @@ -15,13 +15,13 @@ "graphics" ], "bugs": { - "url": "https://sudovanilla.com/code/Korbs/Penpot-Desktop/issues", - "email": "support@sudovanilla.com" + "url": "https://ark.sudovanilla.org/Korbs/Penpot-Desktop/issues", + "email": "korbs@sudovanilla.org" }, "funding": [ { "type": "individual", - "url": "https://sudovanilla.com/donate/" + "url": "https://liberapay.com/SudoVanilla/" } ], "scripts": { @@ -39,11 +39,11 @@ "electron-tabs": "^1.0.1", "electron-updater": "^6.1.1", "electron-window-state": "^5.0.3", - "run-electron": "^1.0.0", + "run-electron": "^2.0.0", "sass": "^1.63.6" }, "devDependencies": { - "electron": "^29.1.5", + "electron": "^30.0.6", "electron-builder": "^24.9.1" } }