Permalink
Browse files

making moving scripts work better. adding exported for amazon and donate

  • Loading branch information...
1 parent 42972f4 commit a183c0d129e6d1f616af200f154d2c4a95bb3ee3 @rjmarsan committed Apr 10, 2012
Binary file not shown.
Binary file not shown.
View
@@ -0,0 +1,8 @@
+perl -p -i -e 's/com.rj.processing.plasmasounddonate.R/com.rj.processing.plasmasound.R/g' src/com/rj/processing/*/*.java
+perl -p -i -e 's/com.rj.processing.plasmasounddonate.R/com.rj.processing.plasmasound.R/g' src/com/rj/processing/*/*/*.java
+perl -p -i -e 's/com.rj.processing.plasmasounddonate.R/com.rj.processing.plasmasound.R/g' src/com/rj/processing/*/*/*/*.java
+perl -p -i -e 's/com.rj.processing.plasmasounddonate.R/com.rj.processing.plasmasound.R/g' src/com/rj/processing/*/*/*/*/*.java
+perl -p -i -e 's/com.rj.processing.plasmasounddonate.R/com.rj.processing.plasmasound.R/g' src/com/rj/processing/*/*/*/*/*/*.java
+perl -p -i -e 's/com.rj.processing.plasmasounddonate.R/com.rj.processing.plasmasound.R/g' src/amir/android/icebreaking/*.java
+
+./swapassets.sh nondonate
View
@@ -1,6 +1,8 @@
-perl -p -i -e ’s/com.rj.processing.plasmasound.R/com.rj.processing.plasmasoundhd.R/g’ src/com/rj/processing/*/*.java
-perl -p -i -e ’s/com.rj.processing.plasmasound.R/com.rj.processing.plasmasoundhd.R/g’ src/com/rj/processing/*/*/*.java
-perl -p -i -e ’s/com.rj.processing.plasmasound.R/com.rj.processing.plasmasoundhd.R/g’ src/com/rj/processing/*/*/*/*.java
-perl -p -i -e ’s/com.rj.processing.plasmasound.R/com.rj.processing.plasmasoundhd.R/g’ src/com/rj/processing/*/*/*/*/*.java
-perl -p -i -e ’s/com.rj.processing.plasmasound.R/com.rj.processing.plasmasoundhd.R/g’ src/com/rj/processing/*/*/*/*/*/*.java
-perl -p -i -e ’s/com.rj.processing.plasmasound.R/com.rj.processing.plasmasoundhd.R/g’ src/amir/android/icebreaking/*.java
+perl -p -i -e 's/com.rj.processing.plasmasound.R/com.rj.processing.plasmasounddonate.R/g' src/com/rj/processing/*/*.java
+perl -p -i -e 's/com.rj.processing.plasmasound.R/com.rj.processing.plasmasounddonate.R/g' src/com/rj/processing/*/*/*.java
+perl -p -i -e 's/com.rj.processing.plasmasound.R/com.rj.processing.plasmasounddonate.R/g' src/com/rj/processing/*/*/*/*.java
+perl -p -i -e 's/com.rj.processing.plasmasound.R/com.rj.processing.plasmasounddonate.R/g' src/com/rj/processing/*/*/*/*/*.java
+perl -p -i -e 's/com.rj.processing.plasmasound.R/com.rj.processing.plasmasounddonate.R/g' src/com/rj/processing/*/*/*/*/*/*.java
+perl -p -i -e 's/com.rj.processing.plasmasound.R/com.rj.processing.plasmasounddonate.R/g' src/amir/android/icebreaking/*.java
+
+./swapassets.sh donate
View
@@ -1,6 +1,6 @@
-perl -p -i -e s/com.rj.processing.plasmasound.R/com.rj.processing.plasmasoundhd.R/g src/com/rj/processing/*/*.java
-perl -p -i -e s/com.rj.processing.plasmasound.R/com.rj.processing.plasmasoundhd.R/g src/com/rj/processing/*/*/*.java
-perl -p -i -e s/com.rj.processing.plasmasound.R/com.rj.processing.plasmasoundhd.R/g src/com/rj/processing/*/*/*/*.java
-perl -p -i -e s/com.rj.processing.plasmasound.R/com.rj.processing.plasmasoundhd.R/g src/com/rj/processing/*/*/*/*/*.java
-perl -p -i -e s/com.rj.processing.plasmasound.R/com.rj.processing.plasmasoundhd.R/g src/com/rj/processing/*/*/*/*/*/*.java
-perl -p -i -e s/com.rj.processing.plasmasound.R/com.rj.processing.plasmasoundhd.R/g src/amir/android/icebreaking/*.java
+perl -p -i -e 's/com.rj.processing.plasmasound.R/com.rj.processing.plasmasoundhd.R/g' src/com/rj/processing/*/*.java
+perl -p -i -e 's/com.rj.processing.plasmasound.R/com.rj.processing.plasmasoundhd.R/g' src/com/rj/processing/*/*/*.java
+perl -p -i -e 's/com.rj.processing.plasmasound.R/com.rj.processing.plasmasoundhd.R/g' src/com/rj/processing/*/*/*/*.java
+perl -p -i -e 's/com.rj.processing.plasmasound.R/com.rj.processing.plasmasoundhd.R/g' src/com/rj/processing/*/*/*/*/*.java
+perl -p -i -e 's/com.rj.processing.plasmasound.R/com.rj.processing.plasmasoundhd.R/g' src/com/rj/processing/*/*/*/*/*/*.java
+perl -p -i -e 's/com.rj.processing.plasmasound.R/com.rj.processing.plasmasoundhd.R/g' src/amir/android/icebreaking/*.java
@@ -3,4 +3,5 @@
<bool name="android_market">true</bool>
<bool name="amazon_appstore">false</bool>
<bool name="supports_donate">true</bool>
+ <bool name="should_bug_about_donate">true</bool>
</resources>
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -407,8 +407,9 @@ public void checkAndRemindThemToGiveMeAGoodRating() {
if (!(mPrefs.getBoolean("popupshown", false))) {
if (elapsed > maxtime) {
// if (System.currentTimeMillis() % 10 == 1) {
+ if (getResources().getBoolean(com.rj.processing.plasmasound.R.bool.should_bug_about_donate)) {
showRatingDialog();
-// }
+ }
Editor e = mPrefs.edit();
e.putBoolean("popupshown", true);
e.commit();

0 comments on commit a183c0d

Please sign in to comment.