This commit is contained in:
parent
b463a63180
commit
5b69435e89
4 changed files with 20 additions and 26 deletions
11
.drone.yml
11
.drone.yml
|
@ -57,12 +57,23 @@ steps:
|
||||||
- cd misc/windows/NSIS
|
- cd misc/windows/NSIS
|
||||||
- makensis -V4 ./installer.nsi
|
- makensis -V4 ./installer.nsi
|
||||||
- cp Installer-*.exe /builds/ns-usbloader/
|
- cp Installer-*.exe /builds/ns-usbloader/
|
||||||
|
- cd ../../../
|
||||||
volumes:
|
volumes:
|
||||||
- name: builds
|
- name: builds
|
||||||
path: /builds
|
path: /builds
|
||||||
- name: jdk
|
- name: jdk
|
||||||
path: /drone/src/misc/windows/NSIS/jdk
|
path: /drone/src/misc/windows/NSIS/jdk
|
||||||
|
|
||||||
|
- name: emerge-mac-m1-artifact
|
||||||
|
image: alpine:latest
|
||||||
|
commands:
|
||||||
|
- . ./.make_m1
|
||||||
|
- mvn -B -DskipTests clean package
|
||||||
|
- cp target/ns-usbloader-*jar /builds/ns-usbloader/
|
||||||
|
volumes:
|
||||||
|
- name: builds
|
||||||
|
path: /builds
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: m2
|
- name: m2
|
||||||
host:
|
host:
|
||||||
|
|
5
.make_m1
Normal file
5
.make_m1
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
sed -z -i -e 's/<groupId>org.usb4java<\/groupId>\n<artifactId>usb4java<\/artifactId>\n<version>1.2.0<\/version>/<groupId>org.usb4java<\/groupId>\n<artifactId>usb4java<\/artifactId>\n<version>1.3.0<\/version>/g' pom.xml
|
||||||
|
sed -z -i -e 's/<classifier>mac<\/classifier>/<classifier>mac-aarch64<\/classifier>/g' pom.xml
|
||||||
|
sed -z -i -e 's/<finalName>${project.artifactId}-${project.version}-legacy-${maven.build.timestamp}<\/finalName>/<finalName>${project.artifactId}-${project.version}-m1-${maven.build.timestamp}<\/finalName>/g' pom.xml
|
||||||
|
sed -i -e '/<groupId>com.akathist.maven.plugins.launch4j/,/<\/executions>/d' pom.xml
|
||||||
|
sed -z -i -e 's/<plugin>\n\s*<\/plugin>//g' pom.xml
|
|
@ -61,6 +61,7 @@ Sometimes I add new posts about this project [on my blog page](https://developer
|
||||||
* Ryukyuan languages by [kuragehime](https://github.com/kuragehimekurara1)
|
* Ryukyuan languages by [kuragehime](https://github.com/kuragehimekurara1)
|
||||||
|
|
||||||
* Angelo Elias Dalzotto makes packages in AUR
|
* Angelo Elias Dalzotto makes packages in AUR
|
||||||
|
* Phoenix[Msc] provides his shiny Mac M1 for debug
|
||||||
|
|
||||||
### System requirements
|
### System requirements
|
||||||
|
|
||||||
|
@ -120,12 +121,11 @@ Double-click on downloaded .jar file. Follow instructions. Or see 'Linux' sectio
|
||||||
|
|
||||||
Set 'Security & Privacy' settings if needed.
|
Set 'Security & Privacy' settings if needed.
|
||||||
|
|
||||||
*Please note: JDK 11 is recommended for using on MacOS (EXCEPT APPLE SILICON). There are few really weird issues already reported from JDK 14 users on Mac.*
|
*Please note: JDK 19 is recommended for using on macOS. There are issues already reported from users on Mac with JDK 14.*
|
||||||
|
|
||||||
##### macOS on Apple Silicon (ARM)
|
##### macOS on Apple Silicon (ARM)
|
||||||
|
|
||||||
* Some users [tested](https://github.com/developersu/ns-usbloader/issues/91) this application with [Zulu-JDK with FX support](https://www.azul.com/downloads/zulu-community/?version=java-11-lts&os=macos&architecture=arm-64-bit&package=jdk-fx). Try it!
|
Download application with `-m1.jar` postfix.
|
||||||
* OpenJDK 17 also should be a working solution. [Tell us if it works for you!]((https://github.com/developersu/ns-usbloader/issues/91))
|
|
||||||
|
|
||||||
##### Windows:
|
##### Windows:
|
||||||
|
|
||||||
|
@ -153,7 +153,7 @@ Table.
|
||||||
|
|
||||||
There you can select checkbox for files that will be sent to application (AW/GL). ~~Since Goldleaf v0.5 allow you only one file transmission per time, only one file is available for selection.~~
|
There you can select checkbox for files that will be sent to application (AW/GL). ~~Since Goldleaf v0.5 allow you only one file transmission per time, only one file is available for selection.~~
|
||||||
|
|
||||||
Also you can use space to select/un-select files and 'delete' button for deleting. By right-mouse-click you can see context menu where you can delete one OR all items from the table.
|
Also, you can use space to select/un-select files and 'delete' button for deleting. By right-mouse-click you can see context menu where you can delete one OR all items from the table.
|
||||||
|
|
||||||
For Goldleaf v0.6.1 and NS-USBloader v0.6 (and higher) you will have to use 'Explore content' -> 'Remote PC (via USB)' You will see two drives HOME:/ and VIRT:/. First drive is pointing to your home directory. Second one is reflection of what you've added to table (first application tab). Also VIRT:/ drive have limited functionality in comparison to HOME:/. E.g. you can't write files to this drive since it's not a drive. But don't worry, it won't make any impact on Goldleaf or your NS if you try.
|
For Goldleaf v0.6.1 and NS-USBloader v0.6 (and higher) you will have to use 'Explore content' -> 'Remote PC (via USB)' You will see two drives HOME:/ and VIRT:/. First drive is pointing to your home directory. Second one is reflection of what you've added to table (first application tab). Also VIRT:/ drive have limited functionality in comparison to HOME:/. E.g. you can't write files to this drive since it's not a drive. But don't worry, it won't make any impact on Goldleaf or your NS if you try.
|
||||||
|
|
||||||
|
|
22
pom.xml
22
pom.xml
|
@ -131,28 +131,6 @@
|
||||||
<classifier>mac</classifier>
|
<classifier>mac</classifier>
|
||||||
<scope>compile</scope>
|
<scope>compile</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<!-- openJFX MAC aarch64 -->
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.openjfx</groupId>
|
|
||||||
<artifactId>javafx-graphics</artifactId>
|
|
||||||
<version>${javafx.version}</version>
|
|
||||||
<classifier>mac-aarch64</classifier>
|
|
||||||
<scope>compile</scope>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.openjfx</groupId>
|
|
||||||
<artifactId>javafx-controls</artifactId>
|
|
||||||
<version>${javafx.version}</version>
|
|
||||||
<classifier>mac-aarch64</classifier>
|
|
||||||
<scope>compile</scope>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.openjfx</groupId>
|
|
||||||
<artifactId>javafx-fxml</artifactId>
|
|
||||||
<version>${javafx.version}</version>
|
|
||||||
<classifier>mac-aarch64</classifier>
|
|
||||||
<scope>compile</scope>
|
|
||||||
</dependency>
|
|
||||||
<!-- https://mvnrepository.com/artifact/org.usb4java/usb4java -->
|
<!-- https://mvnrepository.com/artifact/org.usb4java/usb4java -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.usb4java</groupId>
|
<groupId>org.usb4java</groupId>
|
||||||
|
|
Loading…
Reference in a new issue