Skip to content

Commit 33ca9c8

Browse files
committed
follow the v3.4.0.6.1 's modify to change app-id
1 parent dea384d commit 33ca9c8

7 files changed

Lines changed: 17 additions & 26 deletions

File tree

.travis.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,3 @@ install:
4545

4646
script:
4747
- sbt native-build android:package-release
48-
deploy:
49-
provider: releases
50-
api_key:
51-
secure:
52-
fHITx5JBIyE4dTXsIui9pNUjiPY/KCQUyf1drvZe0b6lYq4JG+Vd/4gsYKDU64UYFtVFLAmWb1/arii9LGRJep8zlbXwawmTyJFzFA4FMTfiwPYlHv2E9ZDsuMEdz4cNUJ3ZxtMipV18/B5db42/sNf9mjeoulBYiWSVQF5Ef5EVZBFpUVTT4xuXBzDANS6URfdi6WVDlrKfSP6EzCwgsKL+T8igrQXAMeFySAM3247jsgAVvFjxaP32F5F4ShP+bFz8JhS7+XxViitXFenX7QG7gW6C2W90SIMkkfsyevwOJMwgbbZMWYRBlX6JoPubIFZ4x3U0pDRPIfsENNjJRhysrU7Ps4LKpozprDHwbkkg0rlSmk7UZvpmuFv5LCsasWIYuvIL7kS3jBiOrC0qAXvEDWugY3gPA1umDg2oLytA6B+LtDmbWZPMrczZAgea9D6eWoH1x2DG0OtU68S6kF11h3RH4RheK28Xk6qcxT5Up27B1Mmvl44ScWo7IBdCd91pyllYWT88ktPQXdcBGUTop5fdQ5cKs9P4AEtw2h1uXOCCEoyOzOWz6m88U7hEh1F/86DecYEhQ2xWZQutRvkg8Rn6cx7QV7nElrT8hrK+P38K845MjKDn8/d+HDwyJ+fk11lbQamwRf7DOA9a0tZYj4imNCv2zGIC0sEPs4Y=
53-
file: "/home/travis/build/milkice233/shadowsocksr-android/target/android/output/shadowsocksr-release.apk"
54-
skip_cleanup: true
55-
on:
56-
tags: true

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ android.useSupportVectors
66

77
name := "shadowsocksr"
88

9-
applicationId := "in.zhaoj.shadowsocksr.nobackground"
9+
applicationId := "in.zhaoj.shadowsocksrr"
1010

1111
platformTarget := "android-25"
1212

src/main/AndroidManifest.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,11 @@
7676
<category android:name="android.intent.category.DEFAULT"/>
7777
</intent-filter>
7878
<intent-filter>
79-
<action android:name="in.zhaoj.shadowsocksr.nobackground.intent.action.SORT"/>
79+
<action android:name="in.zhaoj.shadowsocksrr.intent.action.SORT"/>
8080
<category android:name="android.intent.category.DEFAULT"/>
8181
</intent-filter>
8282
<intent-filter>
83-
<action android:name="in.zhaoj.shadowsocksr.nobackground.intent.action.SCAN"/>
83+
<action android:name="in.zhaoj.shadowsocksrr.intent.action.SCAN"/>
8484
<category android:name="android.intent.category.DEFAULT"/>
8585
</intent-filter>
8686
<intent-filter>
@@ -134,7 +134,7 @@
134134
android:taskAffinity=""
135135
android:theme="@style/PopupTheme.QuickSwitch">
136136
<intent-filter>
137-
<action android:name="in.zhaoj.shadowsocksr.nobackground.QUICK_SWITCH" />
137+
<action android:name="in.zhaoj.shadowsocksrr.QUICK_SWITCH" />
138138
<category android:name="android.intent.category.DEFAULT"/>
139139
</intent-filter>
140140
</activity>

src/main/jni/Android.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -607,8 +607,8 @@ LOCAL_CFLAGS := -fPIC -pthread -ldl -Wl,--no-as-needed -Wl,-soname=libproxycha
607607
-I$(LOCAL_PATH)/include/proxychains \
608608
-I$(LOCAL_PATH)/proxychains/src \
609609
-I$(LOCAL_PATH)/libancillary \
610-
-DLIB_DIR=\"/data/user/0/in.zhaoj.shadowsocksr.nobackground/lib\" -DINSTALL_PREFIX=\"/data/user/0/in.zhaoj.shadowsocksr.nobackground/\" \
611-
-DDLL_NAME=\"libproxychains4.so\" -DSYSCONFDIR=\"/data/user/0/in.zhaoj.shadowsocksr.nobackground/\"
610+
-DLIB_DIR=\"/data/user/0/in.zhaoj.shadowsocksrr/lib\" -DINSTALL_PREFIX=\"/data/user/0/in.zhaoj.shadowsocksrr/\" \
611+
-DDLL_NAME=\"libproxychains4.so\" -DSYSCONFDIR=\"/data/user/0/in.zhaoj.shadowsocksrr/\"
612612

613613
LOCAL_STATIC_LIBRARIES := libancillary
614614

src/main/res/xml/pref_all.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
3-
xmlns:app="http://schemas.android.com/apk/res/in.zhaoj.shadowsocksr.nobackground">
3+
xmlns:app="http://schemas.android.com/apk/res/in.zhaoj.shadowsocksrr">
44

55
<PreferenceCategory
66
android:title="@string/proxy_cat">

src/main/res/xml/shortcuts.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
android:shortcutShortLabel="@string/quick_toggle"
66
android:shortcutLongLabel="@string/quick_toggle">
77
<intent android:action="android.intent.action.MAIN"
8-
android:targetPackage="in.zhaoj.shadowsocksr.nobackground"
8+
android:targetPackage="in.zhaoj.shadowsocksrr"
99
android:targetClass="com.github.shadowsocks.QuickToggleShortcut" />
1010
</shortcut>
1111
<shortcut android:shortcutId="switch"
1212
android:icon="@drawable/ic_qu_shadowsocks_launcher"
1313
android:shortcutShortLabel="@string/quick_switch"
1414
android:shortcutLongLabel="@string/quick_switch">
1515
<intent android:action="android.intent.action.MAIN"
16-
android:targetPackage="in.zhaoj.shadowsocksr.nobackground"
16+
android:targetPackage="in.zhaoj.shadowsocksrr"
1717
android:targetClass="com.github.shadowsocks.ShadowsocksQuickSwitchActivity" />
1818
</shortcut>
1919
<shortcut android:shortcutId="scan"
@@ -22,9 +22,9 @@
2222
android:shortcutLongLabel="@string/add_profile_methods_scan_qr_code">
2323
<intent android:action="android.intent.action.MAIN"
2424
android:targetClass="com.github.shadowsocks.Shadowsocks"
25-
android:targetPackage="in.zhaoj.shadowsocksr.nobackground" />
26-
<intent android:action="in.zhaoj.shadowsocksr.nobackground.intent.action.SCAN"
27-
android:targetPackage="in.zhaoj.shadowsocksr.nobackground"
25+
android:targetPackage="in.zhaoj.shadowsocksrr" />
26+
<intent android:action="in.zhaoj.shadowsocksrr.intent.action.SCAN"
27+
android:targetPackage="in.zhaoj.shadowsocksrr"
2828
android:targetClass="com.github.shadowsocks.ProfileManagerActivity" />
2929
</shortcut>
3030
</shortcuts>

src/main/scala/com/github/shadowsocks/utils/Constants.scala

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -214,11 +214,11 @@ object State {
214214
}
215215

216216
object Action {
217-
val SERVICE = "in.zhaoj.shadowsocksr.nobackground.SERVICE"
218-
val CLOSE = "in.zhaoj.shadowsocksr.nobackground.CLOSE"
219-
val QUICK_SWITCH = "in.zhaoj.shadowsocksr.nobackground.QUICK_SWITCH"
220-
val SCAN = "in.zhaoj.shadowsocksr.nobackground.intent.action.SCAN"
221-
val SORT = "in.zhaoj.shadowsocksr.nobackground.intent.action.SORT"
217+
val SERVICE = "in.zhaoj.shadowsocksrr.SERVICE"
218+
val CLOSE = "in.zhaoj.shadowsocksrr.CLOSE"
219+
val QUICK_SWITCH = "in.zhaoj.shadowsocksrr.QUICK_SWITCH"
220+
val SCAN = "in.zhaoj.shadowsocksrr.intent.action.SCAN"
221+
val SORT = "in.zhaoj.shadowsocksrr.intent.action.SORT"
222222
}
223223

224224
object Route {

0 commit comments

Comments
 (0)