This repository has been archived by the owner on Feb 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
CubeWhy
committed
Aug 16, 2023
0 parents
commit 1852fc9
Showing
18 changed files
with
676 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
.gradle | ||
build/ | ||
!gradle/wrapper/gradle-wrapper.jar | ||
!**/src/main/**/build/ | ||
!**/src/test/**/build/ | ||
|
||
### IntelliJ IDEA ### | ||
.idea/modules.xml | ||
.idea/jarRepositories.xml | ||
.idea/compiler.xml | ||
.idea/libraries/ | ||
*.iws | ||
*.iml | ||
*.ipr | ||
out/ | ||
!**/src/main/**/out/ | ||
!**/src/test/**/out/ | ||
|
||
### Eclipse ### | ||
.apt_generated | ||
.classpath | ||
.factorypath | ||
.project | ||
.settings | ||
.springBeans | ||
.sts4-cache | ||
bin/ | ||
!**/src/main/**/bin/ | ||
!**/src/test/**/bin/ | ||
|
||
### NetBeans ### | ||
/nbproject/private/ | ||
/nbbuild/ | ||
/dist/ | ||
/nbdist/ | ||
/.nb-gradle/ | ||
|
||
### VS Code ### | ||
.vscode/ | ||
|
||
### Mac OS ### | ||
.DS_Store |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# LunarLogin | ||
|
||
Lunar客户端外置登录工具 | ||
|
||
## 使用 | ||
|
||
1. 运行 `java -jar LunarLogin-fatjar.jar` | ||
2. 浏览器中打开 https://127.0.0.1:8080/ | ||
3. 点击登录 | ||
4. 将token链接粘贴进输入框中, 然后点击提交 | ||
5. 在游戏内点击Login with Microsoft |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# LunarLogin | ||
|
||
[Read in Chinese](README-CN.md) | ||
|
||
LunarClient login tool | ||
|
||
## Using | ||
|
||
1. do `java -jar LunarLogin-fatjar.jar` | ||
2. Open https://127.0.0.1:8080/en in your browser | ||
3. Click the link to login | ||
4. Put the token URL into the input field and click to submit | ||
5. Click Login with Microsoft in your game |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
plugins { | ||
id 'java' | ||
id "com.github.johnrengelman.shadow" version "6.1.0" | ||
} | ||
|
||
group = 'org.cubewhy' | ||
version = '1.0-SNAPSHOT' | ||
|
||
configurations { | ||
include | ||
implementation.extendsFrom(include) | ||
} | ||
|
||
repositories { | ||
maven { url = "https://repo.lunarcn.top/repository/maven-public/" } | ||
mavenCentral() | ||
} | ||
|
||
dependencies { | ||
include 'org.cubewhy:LunarLauncherLib:1.3-20230816.062444-1' | ||
|
||
testImplementation platform('org.junit:junit-bom:5.9.1') | ||
testImplementation 'org.junit.jupiter:junit-jupiter' | ||
} | ||
|
||
test { | ||
useJUnitPlatform() | ||
} | ||
|
||
shadowJar { | ||
archiveClassifier.set("fatjar") | ||
configurations = [project.configurations.include] | ||
duplicatesStrategy DuplicatesStrategy.EXCLUDE | ||
|
||
exclude "native-binaries/**" | ||
|
||
exclude "LICENSE.txt" | ||
|
||
exclude "META-INF/maven/**" | ||
exclude "META-INF/versions/**" | ||
|
||
exclude "org/junit/**" | ||
} | ||
|
||
jar { | ||
manifest { | ||
attributes( | ||
"Main-Class": "org.cubewhy.LunarLogin" | ||
) | ||
} | ||
} | ||
|
||
jar.dependsOn(shadowJar) |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#Wed Aug 16 14:08:07 CST 2023 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
Oops, something went wrong.