This repository was archived by the owner on May 1, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +22
-0
lines changed
src/main/java/com/andcool Expand file tree Collapse file tree 2 files changed +22
-0
lines changed Original file line number Diff line number Diff line change 7575 docker compose build
7676 docker compose up -d
7777 EOF
78+ create-release :
79+ needs : [build]
80+ runs-on : ubuntu-latest
81+ steps :
82+ - name : Download artifacts
83+ uses : actions/download-artifact@v4
84+
85+ - name : Create Release
86+ id : create_release
87+ uses : softprops/action-gh-release@v2
88+ with :
89+ files : |
90+ mc-oauth-all.jar
91+ draft : false
92+ prerelease : false
93+ generate_release_notes : true
94+ make_latest : true
95+ env :
96+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1010
1111import javax .imageio .ImageIO ;
1212
13+ import io .netty .util .ResourceLeakDetector ;
1314import org .json .JSONObject ;
1415
1516import com .andcool .config .UserConfig ;
@@ -46,6 +47,8 @@ public class OAuthServer {
4647 public static final String SERVER_ICON = loadIcon ();
4748
4849 public static void main (String [] args ) throws Exception {
50+ ResourceLeakDetector .setLevel (ResourceLeakDetector .Level .PARANOID );
51+
4952 UserConfig .load ();
5053 EventLoopGroup bossGroup = new NioEventLoopGroup (1 );
5154 EventLoopGroup workerGroup = new NioEventLoopGroup ();
You can’t perform that action at this time.
0 commit comments