Skip to content

uroesch/DrawIOPortable

Repository files navigation

draw.io Desktop for PortableApps.com

badge badge DrawIOPortable?include prereleases Runs on total

draw.io Desktop is designed to be completely isolated from the Internet. All JavaScript files are self-contained, the Content Security Policy forbids running remotely loaded JavaScript.

No diagram data is ever sent externally, nor do we send any analytics about app usage externally. This means certain functionality for which we do not have a JavaScript implementation do not work in the Desktop build, namely .vsd and Gliffy import.

Runtime dependencies

  • 64-bit version of Windows.

Support matrix

OS 32-bit 64-bit

ReactOS 0.4.14

no support

not applicable

ReactOS 0.4.15

no support

no data

Windows XP

no support

no support

Windows Vista

no support

no support

Windows 7

no support

full support

Windows 8

no support

probably supported

Windows 10

no support

full support

Windows 11

not applicable

full support

Legend: no support not supported; not applicable not applicable; no data no data; probably supported supported but not verified; full support verified;

Status

This PortableApps project is in beta stage.

Status

This PortableApps project is in beta stage.

Disclaimer

Draw.io is already Portable right from the bat. This is only a convenience wrapper for the PortableApps platform.

Installation

Download

Since this is not an official PortableApp the PortableApps installer must be download first. Navigate to https://github.com/uroesch/DrawIOPortable/releases for a selection of releases.

Install via the PortableApps.com Platform

After downloading the .paf.exe installer navigate to your PortableApps.com platform Apps Menu ❶ and select Install a new app (paf.exe) ❷.

install newapp menu

From the dialog choose the previously downloaded .paf.exe file. ❸

install newapp dialog

After a short while the installation dialog will appear.

install newapp installation

Install outside of the PortableApps.com Platform

The Packages found under the release page are not digitally signed so there the installation is a bit involved.

After downloading the .paf.exe installer trying to install may result in a windows defender warning.

info defender protected

To unblock the installer and install the application follow the annotated screenshot below.

howto unblock file

  1. Right click on the executable file.

  2. Choose Properties at the bottom of the menu.

  3. Check the unblock box.

Build

Windows

Windows 10

The only supported build platform for Windows is version 10 other releases have not been tested.

Clone repositories
git clone https://github.com/uroesch/PortableApps.comInstaller.git
git clone -b patched https://github.com/uroesch/PortableApps.comLauncher.git
git clone https://github.com/uroesch/DrawIOPortable.git
Build installer
cd DrawIOPortable
powershell -ExecutionPolicy ByPass -File Other/Update/Update.ps1

Linux

Docker
ℹ️
This is currently the preferred way of building the PortableApps installer.

For a Docker build run the following command.

Clone repo
git clone https://github.com/uroesch/DrawIOPortable.git
Build installer
cd DrawIOPortable
curl -sJL https://raw.githubusercontent.com/uroesch/PortableApps/master/scripts/docker-build.sh | bash

Local build

Ubuntu 20.04

To build the installer under Ubuntu 20.04 Wine, PowerShell, 7-Zip and when building headless Xvfb are required.

Setup
sudo snap install powershell --classic
sudo apt --yes install git wine p7zip-full xvfb

When building headless run the below command starts a virtual Xserver required for the build to succeed.

export DISPLAY=:7777
Xvfb ${DISPLAY} -ac &
Clone repositories
git clone https://github.com/uroesch/PortableApps.comInstaller.git
git clone -b patched https://github.com/uroesch/PortableApps.comLauncher.git
git clone https://github.com/uroesch/DrawIOPortable.git
Build installer
cd DrawIOPortable
pwsh Other/Update/Update.ps1
Ubuntu 18.04

To build the installer under Ubuntu 18.04 Wine, PowerShell, 7-Zip and when building headless Xvfb are required.

Setup
sudo snap install powershell --classic
sudo apt --yes install git p7zip-full xvfb
sudo dpkg --add-architecture i386
sudo apt update
sudo apt --yes install wine32

When building headless run the below command starts a virtual Xserver required for the build to succeed.

export DISPLAY=:7777
Xvfb ${DISPLAY} -ac &
Clone repositories
git clone https://github.com/uroesch/PortableApps.comInstaller.git
git clone -b patched https://github.com/uroesch/PortableApps.comLauncher.git
git clone https://github.com/uroesch/DrawIOPortable.git
Build installer
cd DrawIOPortable
pwsh Other/Update/Update.ps1