File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ public partial class Constants
2525 /// </summary>
2626 public static readonly string BASE_PATH = Path . Combine ( BepInEx . Paths . BepInExRootPath , ".." ) ;
2727 /// <summary>
28- /// Filename of the dumped data
28+ /// kFilename of the dumped data
2929 /// </summary>
3030 public static readonly string DUMPED_DATA_PATH = Path . Combine ( BASE_PATH , "DumpedData" ) ;
3131 internal static readonly string CHECKSUM_PATH
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ private static void StartScreen_Start()
3535 break ;
3636 }
3737 string newVersion = latest ? . GetProperty ( "tag_name" ) . GetString ( ) ! . TrimStart ( 'v' ) ! ;
38- if ( newVersion . IsVersionOlderOrEqual ( Plugin . VERSION ) ) return ;
38+ if ( newVersion . IsVersionOlderOrEqual ( Constants . POLYMOD_VERSION ) ) return ;
3939 string os = Application . platform switch
4040 {
4141 RuntimePlatform . WindowsPlayer => "win" ,
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ private static void StartScreen_Start()
8383
8484 Version incompatibilityWarningLastVersion = new ( PlayerPrefs . GetString (
8585 Constants . INCOMPATIBILITY_WARNING_LAST_VERSION_KEY ,
86- Plugin . POLYTOPIA_VERSION . CutRevision ( ) . ToString ( )
86+ Constants . POLYTOPIA_VERSION . CutRevision ( ) . ToString ( )
8787 ) ) ;
8888 if ( VersionManager . SemanticVersion . Cast ( ) . CutRevision ( ) > incompatibilityWarningLastVersion )
8989 {
Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ private static void StartScreen_Start()
9191 textComponent . fontSize = 18 ;
9292 textComponent . alignment = TextAlignmentOptions . BottomLeft ;
9393
94- text . GetComponent < TMPLocalizer > ( ) . Text = $ "PolyMod { Plugin . VERSION } ";
94+ text . GetComponent < TMPLocalizer > ( ) . Text = $ "PolyMod { Constants . POLYMOD_VERSION } ";
9595 text . AddComponent < LayoutElement > ( ) . ignoreLayout = true ;
9696 }
9797 else if ( parentName == "NewsButton" )
Original file line number Diff line number Diff line change 88
99namespace PolyMod ;
1010
11- [ BepInPlugin ( "com.polymod" , "PolyMod" , VERSION ) ]
11+ [ BepInPlugin ( "com.polymod" , "PolyMod" , Constants . POLYMOD_VERSION ) ]
1212internal partial class Plugin : BepInEx . Unity . IL2CPP . BasePlugin
1313{
1414 internal record PolyConfig (
You can’t perform that action at this time.
0 commit comments