Skip to content

Commit c1be36e

Browse files
authored
Merge pull request #95 from TrixiEther/trixiether/enhancement/archiveforplebs
archiveforplebs - 1.0
2 parents 03d6e7c + 3e43707 commit c1be36e

File tree

7 files changed

+98
-0
lines changed

7 files changed

+98
-0
lines changed

.github/workflows/android.yml

+2
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ jobs:
4545
name: Warosu
4646
- module: archb4k
4747
name: ArchB4K
48+
- module: archiveforplebs
49+
name: ArchiveForPlebs
4850
- module: archiveofsins
4951
name: ArchiveOfSins
5052
- module: palanqwin
+50
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
apply plugin: 'chan-extension'
2+
3+
chan {
4+
nameUpper 'ArchiveForPlebs'
5+
packageName 'com.trixiether.dashchan.chan.archiveforplebs'
6+
versionName '1.0'
7+
apiVersion 1
8+
hosts 'archive.4plebs.org'
9+
}
10+
11+
dependencies {
12+
implementation project(':engines:foolfuuka')
13+
}
14+
15+
android {
16+
signingConfigs {
17+
release {
18+
19+
def keystoreProperties = new Properties()
20+
try {
21+
file('keystore.properties').newInputStream().withCloseable { keystoreProperties.load(it) }
22+
} catch (IOException ignored) {
23+
keystoreProperties = null
24+
}
25+
26+
if (keystoreProperties == null) {
27+
//git workflow build
28+
System.out.println("keystoreProperties is null")
29+
def key_file = System.getenv("KEYSTORE_FILENAME")
30+
storeFile file(key_file != null ? key_file : "keystore/dashchan")
31+
storePassword System.getenv("KEYSTORE_PASSWORD")
32+
keyAlias System.getenv("RELEASE_SIGN_KEY_ALIAS")
33+
keyPassword System.getenv("RELEASE_SIGN_KEY_PASSWORD")
34+
35+
} else {
36+
//local build
37+
storeFile keystoreProperties['store.file']
38+
storePassword keystoreProperties['store.password']
39+
keyAlias keystoreProperties['key.alias']
40+
keyPassword keystoreProperties['key.password']
41+
}
42+
43+
}
44+
}
45+
buildTypes {
46+
release {
47+
signingConfig signingConfigs.release
48+
}
49+
}
50+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<vector xmlns:android="http://schemas.android.com/apk/res/android" xmlns:aapt="http://schemas.android.com/aapt"
2+
android:viewportWidth="500"
3+
android:viewportHeight="500"
4+
android:width="500dp"
5+
android:height="500dp">
6+
<path
7+
android:pathData="M146.5 54.5C159.685 53.8559 172.685 55.0226 185.5 58C187.286 58.7845 188.786 59.9512 190 61.5C190.5 130.166 190.667 198.833 190.5 267.5C203.171 267.333 215.838 267.5 228.5 268C231 269.167 232.833 271 234 273.5C235.962 281.486 235.962 289.486 234 297.5C232.833 300 231 301.833 228.5 303C215.838 303.5 203.171 303.667 190.5 303.5C190.667 326.502 190.5 349.502 190 372.5C189.5 374.333 188.333 375.5 186.5 376C175.909 378.804 165.243 379.137 154.5 377C151.966 376.484 149.8 375.317 148 373.5C147.5 350.169 147.333 326.836 147.5 303.5C102.832 303.667 58.1654 303.5 13.5 303C10.4265 302.261 8.25985 300.428 7 297.5C3.73475 282.878 5.40141 268.878 12 255.5C50.122 190.086 88.622 124.919 127.5 60C133.554 56.741 139.888 54.9077 146.5 54.5ZM147.5 267.5C113.329 267.832 79.3292 267.498 45.5 266.5C79.5741 208.692 113.407 150.692 147 92.5C147.5 150.832 147.667 209.166 147.5 267.5Z"
8+
android:fillType="evenOdd"
9+
android:fillColor="#040404" />
10+
<path
11+
android:pathData="M392.5 136.5C442.327 133.821 473.827 156.487 487 204.5C496.18 242.442 495.18 280.109 484 317.5C466.19 364.994 432.024 385.828 381.5 380C371.027 377.93 361.36 373.93 352.5 368C344.705 361.873 337.205 355.373 330 348.5C329.667 385.5 329.333 422.5 329 459.5C327.811 463.691 324.977 465.857 320.5 466C311.105 466.886 301.772 466.553 292.5 465C289.898 464.065 288.398 462.232 288 459.5C287.009 354.124 287.342 248.79 289 143.5C290.171 142.107 291.671 141.273 293.5 141C302.929 138.828 312.263 139.161 321.5 142C322.701 142.903 323.535 144.069 324 145.5C324.333 155.833 324.667 166.167 325 176.5C338.336 161.488 354.169 149.988 372.5 142C379.142 139.581 385.809 137.748 392.5 136.5ZM393.5 171.5C417.148 172.08 433.315 183.414 442 205.5C451.116 234.06 452.783 263.06 447 292.5C444.015 306.144 438.349 318.478 430 329.5C416.072 344.158 399.239 348.991 379.5 344C374.601 342.551 369.935 340.551 365.5 338C351.749 328.917 339.916 317.751 330 304.5C329.333 274.5 329.333 244.5 330 214.5C340.248 200.917 352.415 189.417 366.5 180C375.03 175.21 384.03 172.376 393.5 171.5Z"
12+
android:fillType="evenOdd"
13+
android:fillColor="#060606" />
14+
<path
15+
android:pathData="M45.5 266.5C79.3292 267.498 113.329 267.832 147.5 267.5C113.331 268.83 78.9976 268.83 44.5 267.5C44.6236 266.893 44.9569 266.56 45.5 266.5Z"
16+
android:fillType="evenOdd"
17+
android:fillColor="#434343" />
18+
</vector>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
package com.trixiether.dashchan.chan.archiveforplebs;
2+
3+
import chan.content.FoolFuukaChanConfiguration;
4+
5+
public class ArchiveForPlebsChanConfiguration extends FoolFuukaChanConfiguration {
6+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
package com.trixiether.dashchan.chan.archiveforplebs;
2+
3+
import chan.content.FoolFuukaChanLocator;
4+
5+
public class ArchiveForPlebsChanLocator extends FoolFuukaChanLocator {
6+
public ArchiveForPlebsChanLocator() {
7+
addChanHost("archive.4plebs.org");
8+
setHttpsMode(HttpsMode.HTTPS_ONLY);
9+
}
10+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
package com.trixiether.dashchan.chan.archiveforplebs;
2+
3+
import chan.content.FoolFuukaChanMarkup;
4+
5+
public class ArchiveForPlebsChanMarkup extends FoolFuukaChanMarkup {
6+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
package com.trixiether.dashchan.chan.archiveforplebs;
2+
3+
import chan.content.FoolFuukaChanPerformer;
4+
5+
public class ArchiveForPlebsChanPerformer extends FoolFuukaChanPerformer {
6+
}

0 commit comments

Comments
 (0)