mirror of
				https://github.com/jakeswenson/BitBetter.git
				synced 2025-10-31 12:53:25 +00:00 
			
		
		
		
	* Upstream patches * Fix license generator according to upstream changes (#245) (#249) * Test generating user and organization licenses during build check (#252) * Fix ps1 script and update language * Update class path * Cleanup code * Cleanup code * Cleanup code * Refactor and fixes * Copy all files * Copy files only when needed * Make call consistent * Simplify call * Clarify language * Reuse code * Cleanup * Cleanup * Remove NewtonSoft.Json * Upgrade dnlib * Cleanup * Fix path issue * Fix comparator * Cleanup circleci * Fix type * Fix circleci * Properly detect previous version * Add missing parameter * Better detect running patched containers * Improve naming * Fix line endings * Fix typo * Add comment * Fix tabs * Cleanup org license * Use proper file extension * Add missing file * Migrate cert.cert if exists * Check for the correct file * Fix character check * Add comment * Add more documentation * Add proper line endings * Add potentially correct line * Add auto restart * Update comment * Improve consistency between bash and powerhell * Update documentation * Detect buildx * Fix spelling mistake * Fix check order and improve verbosity
		
			
				
	
	
		
			18 lines
		
	
	
		
			403 B
		
	
	
	
		
			PowerShell
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			403 B
		
	
	
	
		
			PowerShell
		
	
	
	
	
	
| $ErrorActionPreference = 'Stop'
 | |
| $PSNativeCommandUseErrorActionPreference = $true
 | |
| 
 | |
| if ($($args.Count) -lt 1) {
 | |
|     echo "USAGE: <License Gen action> [License Gen args...]"
 | |
|     echo "ACTIONS:"
 | |
|     echo " interactive"
 | |
|     echo " user"
 | |
|     echo " org"
 | |
| 	Exit 1
 | |
| }
 | |
| 
 | |
| if ($args[0] -eq "interactive") {
 | |
|     docker run -it --rm bitbetter/licensegen interactive
 | |
| } else {
 | |
|     docker run bitbetter/licensegen $args
 | |
| }
 |