Skip to content
This repository was archived by the owner on Oct 22, 2021. It is now read-only.
This repository was archived by the owner on Oct 22, 2021. It is now read-only.

Repackage zip to contain a base folder #229

Closed
@facchinm

Description

@facchinm

When extracting the IDE from commandline (eg. using unzip) the files get extracted in the same folder since the zip doesn't contain a base folder.

My suggestion is to repackage it using arduino-pro-ide-x.y.z-rev pattern as base folder, so multiple versions can be tested easily.

Activity

self-assigned this
on Mar 17, 2020
added this to the v0.0.6 milestone on Mar 17, 2020
kittaakos

kittaakos commented on Mar 27, 2020

@kittaakos
Contributor

This will be available as part of the 0.0.6 release.

Verification:

akos.kitta@Akoss-MacBook-Pro out % ls -al
total 721640
drwxr-xr-x  4 akos.kitta  staff        128 Mar 27 09:11 .
drwxr-xr-x@ 9 akos.kitta  staff        288 Mar 27 09:11 ..
-rw-r--r--@ 1 akos.kitta  staff  179874129 Mar 26 17:21 Arduino Pro IDE-0.0.5-7994d54-linux-x64.zip
-rw-r--r--@ 1 akos.kitta  staff  176822277 Mar 26 17:21 Arduino Pro IDE-0.0.5-7994d54-win.zip
akos.kitta@Akoss-MacBook-Pro out % unzip -qq Arduino\ Pro\ IDE-0.0.5-7994d54-linux-x64.zip 
akos.kitta@Akoss-MacBook-Pro out % unzip -qq Arduino\ Pro\ IDE-0.0.5-7994d54-win.zip 
akos.kitta@Akoss-MacBook-Pro out % ls -al
total 721640
drwxr-xr-x   6 akos.kitta  staff        192 Mar 27 09:12 .
drwxr-xr-x@  9 akos.kitta  staff        288 Mar 27 09:11 ..
drwxr-xr-x@ 18 akos.kitta  staff        576 Mar 26 15:30 Arduino Pro IDE-0.0.5-7994d54-linux-x64
-rw-r--r--@  1 akos.kitta  staff  179874129 Mar 26 17:21 Arduino Pro IDE-0.0.5-7994d54-linux-x64.zip
drwxr-xr-x@ 20 akos.kitta  staff        640 Mar 26 15:55 Arduino Pro IDE-0.0.5-7994d54-win
-rw-r--r--@  1 akos.kitta  staff  176822277 Mar 26 17:21 Arduino Pro IDE-0.0.5-7994d54-win.zip
akos.kitta@Akoss-MacBook-Pro out % ls -al Arduino\ Pro\ IDE-0.0.5-7994d54-win
total 254240
drwxr-xr-x@ 20 akos.kitta  staff       640 Mar 26 15:55 .
drwxr-xr-x   6 akos.kitta  staff       192 Mar 27 09:12 ..
-rw-r--r--@  1 akos.kitta  staff  92343808 Mar 26 15:52 Arduino Pro IDE.exe
-rw-r--r--@  1 akos.kitta  staff      1060 Mar 26 15:51 LICENSE.electron.txt
-rw-r--r--@  1 akos.kitta  staff   1993817 Mar 26 15:51 LICENSES.chromium.html
-rw-r--r--@  1 akos.kitta  staff    167621 Mar 26 15:51 chrome_100_percent.pak
-rw-r--r--@  1 akos.kitta  staff    249617 Mar 26 15:51 chrome_200_percent.pak
-rw-r--r--@  1 akos.kitta  staff   4346120 Mar 26 15:51 d3dcompiler_47.dll
-rw-r--r--@  1 akos.kitta  staff   2126848 Mar 26 15:51 ffmpeg.dll
-rw-r--r--@  1 akos.kitta  staff  10221472 Mar 26 15:51 icudtl.dat
-rw-r--r--@  1 akos.kitta  staff    109056 Mar 26 15:51 libEGL.dll
-rw-r--r--@  1 akos.kitta  staff   5103616 Mar 26 15:51 libGLESv2.dll
drwxr-xr-x@ 55 akos.kitta  staff      1760 Mar 26 15:51 locales
-rw-r--r--@  1 akos.kitta  staff    125011 Mar 26 15:51 natives_blob.bin
-rw-r--r--@  1 akos.kitta  staff   2949632 Mar 26 15:51 osmesa.dll
drwxr-xr-x@  4 akos.kitta  staff       128 Mar 26 15:51 resources
-rw-r--r--@  1 akos.kitta  staff   8720767 Mar 26 15:51 resources.pak
-rw-r--r--@  1 akos.kitta  staff    642692 Mar 26 15:51 snapshot_blob.bin
drwxr-xr-x@  4 akos.kitta  staff       128 Mar 26 15:51 swiftshader
-rw-r--r--@  1 akos.kitta  staff   1041512 Mar 26 15:51 v8_context_snapshot.bin
akos.kitta@Akoss-MacBook-Pro out % ls -al Arduino\ Pro\ IDE-0.0.5-7994d54-linux-x64
total 288184
drwxr-xr-x@ 18 akos.kitta  staff        576 Mar 26 15:30 .
drwxr-xr-x   6 akos.kitta  staff        192 Mar 27 09:12 ..
-rw-r--r--@  1 akos.kitta  staff       1060 Mar 26 15:27 LICENSE.electron.txt
-rw-r--r--@  1 akos.kitta  staff    1993542 Mar 26 15:27 LICENSES.chromium.html
-rwxr-xr-x@  1 akos.kitta  staff  114927232 Mar 26 15:28 arduino-pro-ide
-rw-r--r--@  1 akos.kitta  staff     167930 Mar 26 15:27 chrome_100_percent.pak
-rw-r--r--@  1 akos.kitta  staff     250097 Mar 26 15:27 chrome_200_percent.pak
-rw-r--r--@  1 akos.kitta  staff   10221472 Mar 26 15:27 icudtl.dat
-rwxr-xr-x@  1 akos.kitta  staff     255912 Mar 26 15:27 libEGL.so
-rwxr-xr-x@  1 akos.kitta  staff    6058008 Mar 26 15:27 libGLESv2.so
-rwxr-xr-x@  1 akos.kitta  staff    3152384 Mar 26 15:27 libffmpeg.so
drwxr-xr-x@ 55 akos.kitta  staff       1760 Mar 26 15:27 locales
-rw-r--r--@  1 akos.kitta  staff     125011 Mar 26 15:27 natives_blob.bin
drwxr-xr-x@  4 akos.kitta  staff        128 Mar 26 15:28 resources
-rw-r--r--@  1 akos.kitta  staff    8691077 Mar 26 15:27 resources.pak
-rw-r--r--@  1 akos.kitta  staff     641676 Mar 26 15:27 snapshot_blob.bin
drwxr-xr-x@  4 akos.kitta  staff        128 Mar 26 15:27 swiftshader
-rw-r--r--@  1 akos.kitta  staff    1040216 Mar 26 15:27 v8_context_snapshot.bin
akos.kitta@Akoss-MacBook-Pro out % ls -al Arduino\ Pro\ IDE-0.0.5-7994d54-linux-x64/resources/app/node_modules/arduino-ide-extension/build/lib/ 
total 2992
drwxr-xr-x@ 10 akos.kitta  staff      320 Mar 26 15:30 .
drwxr-xr-x@  7 akos.kitta  staff      224 Mar 26 15:28 ..
-rw-r--r--@  1 akos.kitta  staff       28 Mar 26 15:28 libc++.so
lrwxrwxrwx   1 akos.kitta  staff       13 Mar 27 09:12 libc++.so.1 -> libc++.so.1.0
-rw-r--r--@  1 akos.kitta  staff  1017080 Mar 26 15:23 libc++.so.1.0
lrwxrwxrwx   1 akos.kitta  staff       14 Mar 27 09:12 libc++abi.so -> libc++abi.so.1
lrwxrwxrwx   1 akos.kitta  staff       16 Mar 27 09:12 libc++abi.so.1 -> libc++abi.so.1.0
-rw-r--r--@  1 akos.kitta  staff   308288 Mar 26 15:23 libc++abi.so.1.0
lrwxrwxrwx   1 akos.kitta  staff       15 Mar 27 09:12 libtinfo.so.5 -> libtinfo.so.5.9
-rwxr-xr-x@  1 akos.kitta  staff   193928 Mar 26 15:23 libtinfo.so.5.9
akos.kitta@Akoss-MacBook-Pro out % 

Verified against: #213

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @kittaakos@facchinm

      Issue actions

        Repackage zip to contain a base folder · Issue #229 · arduino/arduino-pro-ide