Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

archiveofsins - 1.0 #94

Merged
merged 2 commits into from
Mar 17, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ jobs:
name: Warosu
- module: archb4k
name: ArchB4K
- module: archiveofsins
name: ArchiveOfSins
- module: palanqwin
name: PalanqWin

Expand Down
50 changes: 50 additions & 0 deletions extensions/archiveofsins/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
apply plugin: 'chan-extension'

chan {
nameUpper 'ArchiveOfSins'
packageName 'com.trixiether.dashchan.chan.archiveofsins'
versionName '1.0'
apiVersion 1
hosts 'archiveofsins.com'
}

dependencies {
implementation project(':engines:foolfuuka')
}

android {
signingConfigs {
release {

def keystoreProperties = new Properties()
try {
file('keystore.properties').newInputStream().withCloseable { keystoreProperties.load(it) }
} catch (IOException ignored) {
keystoreProperties = null
}

if (keystoreProperties == null) {
//git workflow build
System.out.println("keystoreProperties is null")
def key_file = System.getenv("KEYSTORE_FILENAME")
storeFile file(key_file != null ? key_file : "keystore/dashchan")
storePassword System.getenv("KEYSTORE_PASSWORD")
keyAlias System.getenv("RELEASE_SIGN_KEY_ALIAS")
keyPassword System.getenv("RELEASE_SIGN_KEY_PASSWORD")

} else {
//local build
storeFile keystoreProperties['store.file']
storePassword keystoreProperties['store.password']
keyAlias keystoreProperties['key.alias']
keyPassword keystoreProperties['key.password']
}

}
}
buildTypes {
release {
signingConfig signingConfigs.release
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android" android:height="100dp" android:viewportHeight="800" android:viewportWidth="800" android:width="100dp">
<path android:fillColor="#000000" android:pathData="M604.5,251.5C604.5,254.83 604.5,258.17 604.5,261.5C597.17,261.5 589.83,261.5 582.5,261.5C569.97,181.83 529.3,121.67 460.5,81C413.82,56.22 365.48,52.22 315.5,69C282.87,83.8 262.7,108.63 255,143.5C252.1,170.45 259.43,194.12 277,214.5C294.53,233.37 314.36,249.21 336.5,262C380.57,286.04 425.24,309.04 470.5,331C510.08,351.95 547.08,376.61 581.5,405C640.22,460.84 661.39,528.67 645,608.5C630.71,661.59 601.21,704.09 556.5,736C507.92,768.96 454.08,784.8 395,783.5C356.8,783.38 319.97,776.21 284.5,762C267.39,754.78 250.05,748.11 232.5,742C206.92,735.19 185.75,742.03 169,762.5C164.54,768.59 160.7,775.09 157.5,782C150.84,782.5 144.18,782.67 137.5,782.5C137.5,690.5 137.5,598.5 137.5,506.5C144.17,506.5 150.83,506.5 157.5,506.5C167.3,561.74 188.8,611.74 222,656.5C249.48,689.65 282.98,714.81 322.5,732C368.42,749.56 414.42,749.89 460.5,733C492.44,717.73 513.6,693.23 524,659.5C531.08,623.47 522.41,591.81 498,564.5C475.94,541.73 450.78,523.23 422.5,509C389.39,491.56 356.06,474.56 322.5,458C289.32,440.59 257.66,420.92 227.5,399C193.69,372.53 168.19,339.7 151,300.5C120.35,203.8 144.52,123.96 223.5,61C273.14,26.84 328.14,12.84 388.5,19C417.25,21.77 444.92,28.77 471.5,40C490.15,49.16 509.15,57.49 528.5,65C538.4,69.06 548.4,69.39 558.5,66C567.15,62.21 572.65,55.71 575,46.5C578.13,37.32 580.63,27.98 582.5,18.5C588.17,18.5 593.83,18.5 599.5,18.5C601.26,96.16 602.92,173.83 604.5,251.5Z"/>
</vector>
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
package com.trixiether.dashchan.chan.archiveofsins;

import chan.content.FoolFuukaChanConfiguration;

public class ArchiveOfSinsChanConfiguration extends FoolFuukaChanConfiguration {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package com.trixiether.dashchan.chan.archiveofsins;

import chan.content.FoolFuukaChanLocator;

public class ArchiveOfSinsChanLocator extends FoolFuukaChanLocator {
public ArchiveOfSinsChanLocator() {
addChanHost("archiveofsins.com");
setHttpsMode(HttpsMode.HTTPS_ONLY);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
package com.trixiether.dashchan.chan.archiveofsins;

import chan.content.FoolFuukaChanMarkup;

public class ArchiveOfSinsChanMarkup extends FoolFuukaChanMarkup {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
package com.trixiether.dashchan.chan.archiveofsins;

import chan.content.FoolFuukaChanPerformer;

public class ArchiveOfSinsChanPerformer extends FoolFuukaChanPerformer {
}