zeripath 
		4fb2006ca1 
		
			
		
	 
	
	
	Make gitea work using cmd.exe again ( #22073 ) ... 
			Gitea will attempt to lookup its location using LookPath however, this
fails on cmd.exe if gitea is in the current working directory.
exec.LookPath will return an exec.ErrDot error which we can test for and
then simply using filepath.Abs(os.Args[0]) to absolute gitea against the
current working directory.
Fix  #22063 
Signed-off-by: Andrew Thornton <art27@cantab.net>
Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io> 
		
	 
		2022-12-14 01:15:11 -05:00 
	 
	
	
		 
	
	
		
			
			
			
			
			
			2022-12-02 17:06:23 -05:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-12-08 16:21:37 +08:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-12-10 10:46:31 +08:00 
		 
	
		
			
			
			
			
			
			2022-12-10 10:46:31 +08:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-12-07 09:58:31 -06:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-12-04 10:28:57 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-12-03 10:48:26 +08:00 
		 
	
		
			
			
			
			
			
			2022-12-02 07:56:51 +08:00 
		 
	
		
			
			
			
			
			
			2022-12-02 22:14:57 +08:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-12-08 16:21:37 +08:00 
		 
	
		
			
			
			
			
			
			2022-12-12 11:03:54 +08:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-12-09 14:35:56 +08:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-28 11:19:18 +00:00 
		 
	
		
			
			
			
			
			
			2022-12-02 22:14:57 +08:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-12-10 10:46:31 +08:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-12-02 22:14:57 +08:00 
		 
	
		
			
			
			
			
			
			2022-12-14 01:15:11 -05:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-12-01 11:02:04 +02:00 
		 
	
		
			
			
			
			
			
			2022-12-09 14:35:56 +08:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-12-03 10:48:26 +08:00 
		 
	
		
			
			
			
			
			
			2022-12-03 10:48:26 +08:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-12-12 16:09:26 +08:00