diff --git a/patches/CirSim.patch b/patches/CirSim.patch index 1c45a6c..0a695ee 100644 --- a/patches/CirSim.patch +++ b/patches/CirSim.patch @@ -1,5 +1,5 @@ --- /dev/null -+++ ./../src/main/java/com/lushprojects/circuitjs1/client/CirSim.java ++++ src/main/java/com/lushprojects/circuitjs1/client/CirSim.java @@ -21,6 +21,8 @@ // GWT conversion (c) 2015 by Iain Sharp diff --git a/patches/ExportAsUrlDialog.patch b/patches/ExportAsUrlDialog.patch index 42a5ca8..0a08acf 100644 --- a/patches/ExportAsUrlDialog.patch +++ b/patches/ExportAsUrlDialog.patch @@ -1,5 +1,5 @@ --- /dev/null -+++ ./../src/main/java/com/lushprojects/circuitjs1/client//ExportAsUrlDialog.java ++++ src/main/java/com/lushprojects/circuitjs1/client//ExportAsUrlDialog.java @@ -93,9 +93,11 @@ public ExportAsUrlDialog( String dump) { diff --git a/patches/HelpDialog.patch b/patches/HelpDialog.patch index 2ca938c..46d4a77 100644 --- a/patches/HelpDialog.patch +++ b/patches/HelpDialog.patch @@ -1,5 +1,5 @@ --- /dev/null -+++ ./../src/main/java/com/lushprojects/circuitjs1/client/HelpDialog.java ++++ src/main/java/com/lushprojects/circuitjs1/client/HelpDialog.java @@ -0,0 +1,89 @@ +/* + Copyright (C) Usevalad Khatkevich diff --git a/patches/LicenseDialog.patch b/patches/LicenseDialog.patch index 8f1b1a2..34496bd 100644 --- a/patches/LicenseDialog.patch +++ b/patches/LicenseDialog.patch @@ -1,5 +1,5 @@ --- /dev/null -+++ ./../src/main/java/com/lushprojects/circuitjs1/client/LicenseDialog.java ++++ src/main/java/com/lushprojects/circuitjs1/client/LicenseDialog.java @@ -0,0 +1,40 @@ +/* + Copyright (C) Usevalad Khatkevich diff --git a/patches/README.md b/patches/README.md index 8d571ed..5c442d6 100644 --- a/patches/README.md +++ b/patches/README.md @@ -1,7 +1,7 @@ After adding new versions of java files from [pfalstad/circuitjs1](https://github.com/pfalstad/circuitjs1) to the `../src/main/java/com/lushprojects/circuitjs1/client/` folder, run ``` -patch < *.patch +cd .. && cat patches/*.patch | patch -p0 ``` -from current directory. \ No newline at end of file +from current directory. diff --git a/patches/Scrollbar.patch b/patches/Scrollbar.patch index 6332d32..c0b5f91 100644 --- a/patches/Scrollbar.patch +++ b/patches/Scrollbar.patch @@ -1,5 +1,5 @@ --- /dev/null -+++ ./../src/main/java/com/lushprojects/circuitjs1/client/Scrollbar.java ++++ src/main/java/com/lushprojects/circuitjs1/client/Scrollbar.java @@ -78,9 +78,9 @@ val=value; pan = new VerticalPanel(); diff --git a/patches/circuitjs1.patch b/patches/circuitjs1.patch index 4e8d191..0d99fc2 100644 --- a/patches/circuitjs1.patch +++ b/patches/circuitjs1.patch @@ -1,5 +1,5 @@ --- /dev/null -+++ ./../src/main/java/com/lushprojects/circuitjs1/client/circuitjs1.java ++++ src/main/java/com/lushprojects/circuitjs1/client/circuitjs1.java @@ -76,7 +76,7 @@ public static final String versionString="2.7.1js";