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

archive.palanq.win 1.0 #93

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: palanqwin
name: PalanqWin

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

chan {
nameUpper 'PalanqWin'
packageName 'com.trixiether.dashchan.chan.palanq'
versionName '1.0'
apiVersion 1
hosts 'archive.palanq.win'
}

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
}
}
}
10 changes: 10 additions & 0 deletions extensions/palanqwin/res/drawable-v21/ic_custom_palanqwin.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="640dp"
android:height="704dp"
android:viewportWidth="640"
android:viewportHeight="704">
<path
android:pathData="M171,2c-34.9,1 -83.2,2.2 -107.2,2.6 -40.8,0.7 -43.9,0.8 -45.8,2.6 -3.3,3.1 -5.2,7.9 -5.8,14.4 -0.5,6.9 0.9,12.3 4.4,17 2.2,3 2.6,3.1 12.1,3.8 25.1,1.7 38.6,4.5 49.5,10.3 15.8,8.3 24.6,24.1 29,51.8 2,12.3 1.9,487.2 -0.1,500 -3.1,20.4 -8.9,34.4 -18,43.6 -11.1,11.1 -24.6,15.5 -55.1,17.9 -16.5,1.4 -17.8,2 -20.4,9.8 -3,8.7 -1.6,18.9 3.3,24.4l2.7,3 82.8,-1.1c61.6,-0.8 103.7,-0.8 164.9,-0l82.1,1.1 2.7,-3c4.9,-5.5 6.3,-15.9 3.4,-24.3 -2.7,-7.5 -4.4,-8.6 -14.8,-9.4 -35.3,-2.5 -50.9,-7.4 -62.1,-19.6 -9.6,-10.3 -15.1,-25.6 -17.6,-48.4 -0.8,-8.2 -1,-74.2 -0.8,-257 0.4,-227.5 0.5,-246.6 2.1,-254.5 5.4,-26.5 14.4,-37.4 35.4,-42.7 10.8,-2.8 45.2,-2.5 59.8,0.5 27.5,5.5 46.8,15.4 63.2,32.5 20.1,21 31.3,48.4 36.5,89.2 1.7,14.1 1.4,59.3 -0.5,77.1 -3.7,32.5 -10.5,55.2 -22.1,72.9 -15.5,23.5 -39,36.6 -73.1,40.5 -15.5,1.7 -53.2,0.9 -71.2,-1.5l-4.3,-0.6 0,5.3c0.1,14.7 7.5,30.3 18.1,37.9 5.1,3.6 17.2,4.9 46.1,4.9 56.6,-0 98.7,-5.5 135.8,-17.6 74,-24.3 119,-81.2 132.7,-167.9 2.2,-13.9 2.5,-53.1 0.5,-64.5 -6.9,-38.8 -22.4,-69.2 -48.4,-94.7 -29.9,-29.4 -67.5,-45.2 -131.3,-55.5 -13.7,-2.2 -15.8,-2.2 -109.5,-2.4 -70.9,-0.1 -111.9,0.3 -159,1.6z"
android:fillColor="#000000"
android:strokeColor="#00000000"/>
</vector>
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
package com.trixiether.dashchan.chan.palanq;

import chan.content.FoolFuukaChanConfiguration;

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

import chan.content.FoolFuukaChanLocator;

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

import chan.content.FoolFuukaChanMarkup;

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

import chan.content.FoolFuukaChanPerformer;

public class PalanqWinChanPerformer extends FoolFuukaChanPerformer {
}