Skip to content

Commit 0c1417e

Browse files
committed
AI中文化插件提交测试
1 parent b262640 commit 0c1417e

File tree

16 files changed

+431
-183
lines changed

16 files changed

+431
-183
lines changed

.idx/dev.nix

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
# To learn more about how to use Nix to configure your environment
2+
# see: https://firebase.google.com/docs/studio/customize-workspace
3+
{ pkgs, ... }: {
4+
# Which nixpkgs channel to use.
5+
channel = "stable-24.05"; # or "unstable"
6+
7+
# Use https://search.nixos.org/packages to find packages
8+
packages = [
9+
pkgs.jdk
10+
# pkgs.go
11+
# pkgs.python311
12+
# pkgs.python311Packages.pip
13+
# pkgs.nodejs_20
14+
# pkgs.nodePackages.nodemon
15+
];
16+
17+
# Sets environment variables in the workspace
18+
env = {};
19+
idx = {
20+
# Search for the extensions you want on https://open-vsx.org/ and use "publisher.id"
21+
extensions = [
22+
# "vscodevim.vim"
23+
];
24+
25+
# Enable previews
26+
previews = {
27+
enable = true;
28+
previews = {
29+
# web = {
30+
# # Example: run "npm run dev" with PORT set to IDX's defined port for previews,
31+
# # and show it in IDX's web preview panel
32+
# command = ["npm" "run" "dev"];
33+
# manager = "web";
34+
# env = {
35+
# # Environment variables to set for your server
36+
# PORT = "$PORT";
37+
# };
38+
# };
39+
};
40+
};
41+
42+
# Workspace lifecycle hooks
43+
workspace = {
44+
# Runs when a workspace is first created
45+
onCreate = {
46+
# Example: install JS dependencies from NPM
47+
# npm-install = "npm install";
48+
};
49+
# Runs when the workspace is (re)started
50+
onStart = {
51+
# Example: start a background task to watch and re-build backend code
52+
# watch-backend = "npm run watch-backend";
53+
};
54+
};
55+
};
56+
}

app/build.gradle

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,15 @@ android {
1616
}
1717
}
1818
}
19+
20+
dependencies {
21+
implementation project(':dex-injector-lib')
22+
}
23+
24+
task injectDex(type: JavaExec) {
25+
classpath = files("$buildDir/intermediates/classes/debug", project(':dex-injector-lib').buildDir.path + '/libs/dex-injector-lib.jar')
26+
main = 'com.example.localizationinjector.DexInjector'
27+
args 'app/src/main/assets/classes.dex', 'app/src/main/assets/classes-modified.dex'
28+
}
29+
30+
preBuild.dependsOn injectDex

app/src/main/assets/fonts/DroidSansFallback.ttf

Whitespace-only changes.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
New Game = 新游戏

0 commit comments

Comments
 (0)