File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -35,11 +35,10 @@ private static void StartScreen_Start()
3535 break ;
3636 }
3737 if (
38- new Version ( latest ? . GetProperty ( "tag_name" ) . GetString ( ) ! . TrimStart ( 'v' ) ! )
38+ new Version ( latest ? . GetProperty ( "tag_name" ) . GetString ( ) ! . TrimStart ( 'v' ) ! . Split ( '-' ) [ 0 ] ! )
3939 <=
40- new Version ( Plugin . VERSION )
40+ new Version ( Plugin . VERSION . Split ( '-' ) [ 0 ] )
4141 ) return ;
42- Console . WriteLine ( latest ? . GetProperty ( "assets" ) [ 0 ] . GetProperty ( "browser_download_url" ) . GetString ( ) ! ) ;
4342 string bepinex_version = client . GetAsync ( "https://polymod.dev/data/bepinex.txt" ) . UnwrapAsync ( ) . Content . ReadAsStringAsync ( ) . UnwrapAsync ( ) ;
4443 string os = Application . platform switch
4544 {
@@ -49,8 +48,6 @@ private static void StartScreen_Start()
4948 _ => "unknown" ,
5049 } ;
5150 if ( os == "unknown" ) return ;
52- bepinex_version = bepinex_version . Replace ( "{os}" , os ) ;
53- Console . WriteLine ( bepinex_version ) ;
5451 void Update ( )
5552 {
5653 Time . timeScale = 0 ;
You can’t perform that action at this time.
0 commit comments