~repos /website
git clone https://pyrossh.dev/repos/website.git
木 Personal website of pyrossh. Built with astrojs, shiki, vite.
860c5b86
—
pyrossh 3 months ago
change identifier
- src-tauri/gen/android/app/.gitignore +1 -1
- src-tauri/gen/android/app/build.gradle.kts +2 -2
- src-tauri/gen/android/app/src/main/java/{com → dev}/pyrossh/website/MainActivity.kt +1 -1
- src-tauri/gen/android/buildSrc/src/main/java/{com → dev}/pyrossh/website/kotlin/BuildTask.kt +2 -2
- src-tauri/gen/android/buildSrc/src/main/java/{com → dev}/pyrossh/website/kotlin/RustPlugin.kt +0 -0
- src-tauri/gen/apple/project.yml +3 -3
- src-tauri/gen/apple/website.xcodeproj/project.pbxproj +3 -3
- src-tauri/icons/icon.icns +0 -0
- src-tauri/tauri.conf.json +1 -1
src-tauri/gen/android/app/.gitignore
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/src/main/java/
|
|
1
|
+
/src/main/java/dev/pyrossh/website/generated
|
|
2
2
|
/src/main/jniLibs/**/*.so
|
|
3
3
|
/src/main/assets/tauri.conf.json
|
|
4
4
|
/tauri.build.gradle.kts
|
src-tauri/gen/android/app/build.gradle.kts
CHANGED
|
@@ -15,10 +15,10 @@ val tauriProperties = Properties().apply {
|
|
|
15
15
|
|
|
16
16
|
android {
|
|
17
17
|
compileSdk = 36
|
|
18
|
-
namespace = "
|
|
18
|
+
namespace = "dev.pyrossh.website"
|
|
19
19
|
defaultConfig {
|
|
20
20
|
manifestPlaceholders["usesCleartextTraffic"] = "false"
|
|
21
|
-
applicationId = "
|
|
21
|
+
applicationId = "dev.pyrossh.website"
|
|
22
22
|
minSdk = 24
|
|
23
23
|
targetSdk = 36
|
|
24
24
|
versionCode = tauriProperties.getProperty("tauri.android.versionCode", "1").toInt()
|
src-tauri/gen/android/app/src/main/java/{com → dev}/pyrossh/website/MainActivity.kt
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
package
|
|
1
|
+
package dev.pyrossh.website
|
|
2
2
|
|
|
3
3
|
import android.os.Bundle
|
|
4
4
|
import androidx.activity.enableEdgeToEdge
|
src-tauri/gen/android/buildSrc/src/main/java/{com → dev}/pyrossh/website/kotlin/BuildTask.kt
RENAMED
|
@@ -16,7 +16,7 @@ open class BuildTask : DefaultTask() {
|
|
|
16
16
|
|
|
17
17
|
@TaskAction
|
|
18
18
|
fun assemble() {
|
|
19
|
-
val executable = """
|
|
19
|
+
val executable = """bun""";
|
|
20
20
|
try {
|
|
21
21
|
runTauriCli(executable)
|
|
22
22
|
} catch (e: Exception) {
|
|
@@ -32,7 +32,7 @@ open class BuildTask : DefaultTask() {
|
|
|
32
32
|
val rootDirRel = rootDirRel ?: throw GradleException("rootDirRel cannot be null")
|
|
33
33
|
val target = target ?: throw GradleException("target cannot be null")
|
|
34
34
|
val release = release ?: throw GradleException("release cannot be null")
|
|
35
|
-
val args = listOf("
|
|
35
|
+
val args = listOf("tauri", "android", "android-studio-script");
|
|
36
36
|
|
|
37
37
|
project.exec {
|
|
38
38
|
workingDir(File(project.projectDir, rootDirRel))
|
src-tauri/gen/android/buildSrc/src/main/java/{com → dev}/pyrossh/website/kotlin/RustPlugin.kt
RENAMED
|
File without changes
|
src-tauri/gen/apple/project.yml
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
name: website
|
|
2
2
|
options:
|
|
3
|
-
bundleIdPrefix:
|
|
3
|
+
bundleIdPrefix: dev.pyrossh.website
|
|
4
4
|
deploymentTarget:
|
|
5
5
|
iOS: 14.0
|
|
6
6
|
fileGroups: [../../src]
|
|
@@ -11,7 +11,7 @@ settingGroups:
|
|
|
11
11
|
app:
|
|
12
12
|
base:
|
|
13
13
|
PRODUCT_NAME: pyrossh
|
|
14
|
-
PRODUCT_BUNDLE_IDENTIFIER:
|
|
14
|
+
PRODUCT_BUNDLE_IDENTIFIER: dev.pyrossh.website
|
|
15
15
|
targetTemplates:
|
|
16
16
|
app:
|
|
17
17
|
type: application
|
|
@@ -80,7 +80,7 @@ targets:
|
|
|
80
80
|
- sdk: UIKit.framework
|
|
81
81
|
- sdk: WebKit.framework
|
|
82
82
|
preBuildScripts:
|
|
83
|
-
- script:
|
|
83
|
+
- script: bun tauri ios xcode-script -v --platform ${PLATFORM_DISPLAY_NAME:?} --sdk-root ${SDKROOT:?} --framework-search-paths "${FRAMEWORK_SEARCH_PATHS:?}" --header-search-paths "${HEADER_SEARCH_PATHS:?}" --gcc-preprocessor-definitions "${GCC_PREPROCESSOR_DEFINITIONS:-}" --configuration ${CONFIGURATION:?} ${FORCE_COLOR} ${ARCHS:?}
|
|
84
84
|
name: Build Rust Code
|
|
85
85
|
basedOnDependencyAnalysis: false
|
|
86
86
|
outputFiles:
|
src-tauri/gen/apple/website.xcodeproj/project.pbxproj
CHANGED
|
@@ -234,7 +234,7 @@
|
|
|
234
234
|
);
|
|
235
235
|
runOnlyForDeploymentPostprocessing = 0;
|
|
236
236
|
shellPath = /bin/sh;
|
|
237
|
-
shellScript = "
|
|
237
|
+
shellScript = "bun tauri ios xcode-script -v --platform ${PLATFORM_DISPLAY_NAME:?} --sdk-root ${SDKROOT:?} --framework-search-paths \"${FRAMEWORK_SEARCH_PATHS:?}\" --header-search-paths \"${HEADER_SEARCH_PATHS:?}\" --gcc-preprocessor-definitions \"${GCC_PREPROCESSOR_DEFINITIONS:-}\" --configuration ${CONFIGURATION:?} ${FORCE_COLOR} ${ARCHS:?}";
|
|
238
238
|
};
|
|
239
239
|
/* End PBXShellScriptBuildPhase section */
|
|
240
240
|
|
|
@@ -273,7 +273,7 @@
|
|
|
273
273
|
);
|
|
274
274
|
"LIBRARY_SEARCH_PATHS[arch=arm64]" = "$(inherited) $(PROJECT_DIR)/Externals/arm64/$(CONFIGURATION) $(SDKROOT)/usr/lib/swift $(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME) $(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)";
|
|
275
275
|
"LIBRARY_SEARCH_PATHS[arch=x86_64]" = "$(inherited) $(PROJECT_DIR)/Externals/x86_64/$(CONFIGURATION) $(SDKROOT)/usr/lib/swift $(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME) $(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)";
|
|
276
|
-
PRODUCT_BUNDLE_IDENTIFIER =
|
|
276
|
+
PRODUCT_BUNDLE_IDENTIFIER = dev.pyrossh.website;
|
|
277
277
|
PRODUCT_NAME = pyrossh;
|
|
278
278
|
SDKROOT = iphoneos;
|
|
279
279
|
TARGETED_DEVICE_FAMILY = "1,2";
|
|
@@ -423,7 +423,7 @@
|
|
|
423
423
|
);
|
|
424
424
|
"LIBRARY_SEARCH_PATHS[arch=arm64]" = "$(inherited) $(PROJECT_DIR)/Externals/arm64/$(CONFIGURATION) $(SDKROOT)/usr/lib/swift $(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME) $(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)";
|
|
425
425
|
"LIBRARY_SEARCH_PATHS[arch=x86_64]" = "$(inherited) $(PROJECT_DIR)/Externals/x86_64/$(CONFIGURATION) $(SDKROOT)/usr/lib/swift $(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME) $(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)";
|
|
426
|
-
PRODUCT_BUNDLE_IDENTIFIER =
|
|
426
|
+
PRODUCT_BUNDLE_IDENTIFIER = dev.pyrossh.website;
|
|
427
427
|
PRODUCT_NAME = pyrossh;
|
|
428
428
|
SDKROOT = iphoneos;
|
|
429
429
|
TARGETED_DEVICE_FAMILY = "1,2";
|
src-tauri/icons/icon.icns
CHANGED
|
Binary file
|
src-tauri/tauri.conf.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://schema.tauri.app/config/2",
|
|
3
3
|
"productName": "pyrossh",
|
|
4
4
|
"version": "0.1.0",
|
|
5
|
-
"identifier": "
|
|
5
|
+
"identifier": "dev.pyrossh.website",
|
|
6
6
|
"build": {
|
|
7
7
|
"devUrl": "http://localhost:4321",
|
|
8
8
|
"beforeDevCommand": "bun run dev --host",
|