mirror of
https://framagit.org/tom79/nitterizeme
synced 2025-02-07 12:54:24 +01:00
Add pouetitfromci
This commit is contained in:
parent
c487aac06c
commit
c09a7bcc4a
@ -88,7 +88,7 @@ pouet-it:
|
||||
# Make the project name first letter uppercase
|
||||
- export NC_DOWNLOAD_URL="${NC_SHARE_URL}?path=%2F${CI_COMMIT_TAG}%2F"
|
||||
- export project="$(tr '[:lower:]' '[:upper:]' <<< ${CI_PROJECT_NAME:0:1})${CI_PROJECT_NAME:1}"
|
||||
- export MESSAGE=$(echo -e "I just released a new version of "'#'"${APP_NAME}!""\n${CI_PROJECT_URL}/tags/${CI_COMMIT_TAG}\nYou can download the apks on ${NC_DOWNLOAD_URL}")
|
||||
- export MESSAGE=$(echo -e "A new release of "'#'"${APP_NAME} is available!""\n${CI_PROJECT_URL}/tags/${CI_COMMIT_TAG}\nYou can download the apks on ${NC_DOWNLOAD_URL}")
|
||||
- if [[ ! -z $HOST ]]; then carton exec ./pouet-it-from-ci.pl; fi
|
||||
only:
|
||||
- tags
|
||||
|
@ -116,7 +116,7 @@ public class AboutActivity extends AppCompatActivity {
|
||||
|
||||
Button how_to = findViewById(R.id.how_to);
|
||||
how_to.setOnClickListener(v -> {
|
||||
Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse("https://fedilab.app/wiki/nitterizeme/"));
|
||||
Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse("https://fedilab.app/wiki/untrackme/"));
|
||||
startActivity(browserIntent);
|
||||
});
|
||||
|
||||
|
@ -60,7 +60,7 @@ import static app.fedilab.nitterizeme.activities.MainActivity.SET_NITTER_HOST;
|
||||
|
||||
public class InstanceActivity extends AppCompatActivity {
|
||||
|
||||
private static String list_for_instances = "https://framagit.org/tom79/fedilab_app/-/blob/master/content/nitterizeme_instances/payload_2.json";
|
||||
private static String list_for_instances = "https://framagit.org/tom79/fedilab_app/-/blob/master/content/untrackme_instances/payload_2.json";
|
||||
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
@ -83,7 +83,7 @@ public class InstanceActivity extends AppCompatActivity {
|
||||
protected String doInBackground(Void... voids) {
|
||||
HttpsURLConnection httpsURLConnection;
|
||||
try {
|
||||
String instances_url = "https://fedilab.app/nitterizeme_instances/payload_2.json";
|
||||
String instances_url = "https://fedilab.app/untrackme_instances/payload_2.json";
|
||||
URL url = new URL(instances_url);
|
||||
httpsURLConnection = (HttpsURLConnection) url.openConnection();
|
||||
httpsURLConnection.setConnectTimeout(10 * 1000);
|
||||
|
Loading…
x
Reference in New Issue
Block a user