mirror of
				https://github.com/jakeswenson/BitBetter.git
				synced 2025-10-31 21:03:25 +00:00 
			
		
		
		
	build script
This commit is contained in:
		
							parent
							
								
									75b6eda59d
								
							
						
					
					
						commit
						13f33a900a
					
				|  | @ -4,6 +4,9 @@ COPY bin/Debug/netcoreapp2.0/publish/* /bitBetter/ | ||||||
| COPY cert.cert /newLicensing.cer | COPY cert.cert /newLicensing.cer | ||||||
| 
 | 
 | ||||||
| RUN dotnet /bitBetter/bitBetter.dll && \ | RUN dotnet /bitBetter/bitBetter.dll && \ | ||||||
|     mv /app/Core.dll /app.Core.orig.dll && \ |     echo "modified dll" && \ | ||||||
|  |     mv /app/Core.dll /app/Core.orig.dll && \ | ||||||
|     mv /app/modified.dll /app/Core.dll && \ |     mv /app/modified.dll /app/Core.dll && \ | ||||||
|     rm -rf /bitBetter && rm -rf /newLicensing.cer |     echo "replaced dll" && \ | ||||||
|  |     rm -rf /bitBetter && rm -rf /newLicensing.cer && \ | ||||||
|  |     echo "cleaned up" | ||||||
|  | @ -10,7 +10,7 @@ namespace bitwardenSelfLicensor | ||||||
| { | { | ||||||
|     class Program |     class Program | ||||||
|     { |     { | ||||||
|         static void Main(string[] args) |         static int Main(string[] args) | ||||||
|         { |         { | ||||||
|             string cerFile; |             string cerFile; | ||||||
|             string corePath; |             string corePath; | ||||||
|  | @ -86,6 +86,8 @@ namespace bitwardenSelfLicensor | ||||||
|             // } |             // } | ||||||
| 
 | 
 | ||||||
|             module.Write("modified.dll"); |             module.Write("modified.dll"); | ||||||
|  | 
 | ||||||
|  |             return 0; | ||||||
|         } |         } | ||||||
|     } |     } | ||||||
| } | } | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user