mirror of
https://github.com/moudey/Shell.git
synced 2026-11-16 09:04:25 +08:00
Update bin folder
This commit is contained in:
1 parent
64506d9806
commit
dcf9a46831
8 files changed
+8
-118
No files matched your search
@@ -6,7 +6,6 @@ on:
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
@@ -47,11 +46,10 @@ jobs:
|
||||
name: shell-${{matrix.platform}}
|
||||
path: |
|
||||
${{env.BIN_PATH}}\*
|
||||
!${{env.BIN_PATH}}\${{matrix.platform}}\*.lib
|
||||
!${{env.BIN_PATH}}\${{matrix.platform}}\*.exp
|
||||
!${{env.BIN_PATH}}\${{matrix.platform}}\ca.dll
|
||||
!${{env.BIN_PATH}}\*.lib
|
||||
!${{env.BIN_PATH}}\*.exp
|
||||
!${{env.BIN_PATH}}\*.wixpdb
|
||||
!${{env.BIN_PATH}}\debug.cmd
|
||||
!${{env.BIN_PATH}}\ca.dll
|
||||
if-no-files-found: warn
|
||||
retention-days: 0
|
||||
compression-level: 6
|
||||
|
||||
@@ -1,53 +0,0 @@
|
||||
@echo off
|
||||
title dija debug
|
||||
cls
|
||||
set TH=%time:~0,2%
|
||||
set TM=%time:~3,2%
|
||||
set TS=%time:~6,2%
|
||||
|
||||
set MM=%date:~4,2%
|
||||
set DD=%date:~7,2%
|
||||
set YYYY=%date:~10,4%
|
||||
|
||||
set PLATFORM=x64
|
||||
|
||||
set dt=%YYYY%%MM%%DD%%TH%%TM%%TS%
|
||||
set build=%YYYY%%MM%%DD%
|
||||
|
||||
:: Validate administrative permissions...
|
||||
:: https://stackoverflow.com/questions/4051883/batch-script-how-to-check-for-admin-rights
|
||||
::echo Administrative permissions required for unregistering the Shell Extension.
|
||||
:: Unregistering the Shell Extension.
|
||||
::echo Proceeding with the Shell Extension unregistration.
|
||||
echo.
|
||||
echo Shell version 1.9 build 19 %date% %time%
|
||||
echo.
|
||||
|
||||
cd /d %~dp0
|
||||
|
||||
IF EXIST "%PLATFORM%\shell.dll" (
|
||||
|
||||
IF EXIST "shell.dll" (
|
||||
move "shell.dll" "deleted\shell-%dt%.dll" >nul
|
||||
)
|
||||
|
||||
copy /Y "%PLATFORM%\shell.dll" "shell.dll" >nul
|
||||
|
||||
IF EXIST "%PLATFORM%\shell.exe" (
|
||||
copy /Y "%PLATFORM%\shell.exe" "shell.exe" >nul
|
||||
timeout 1 >nul
|
||||
)
|
||||
|
||||
shell.exe -restart
|
||||
|
||||
IF EXIST "shell.log" (
|
||||
del /s /q "shell.log" >nul
|
||||
)
|
||||
|
||||
timeout 2 >nul
|
||||
|
||||
del deleted\*.dll>nul
|
||||
|
||||
rem start %~dp0
|
||||
)
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
<TargetName>shell</TargetName>
|
||||
<TargetExt>.dll</TargetExt>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
<OutDir>$(SolutionDir)bin\$(Platform.ToLower().Replace('win32', 'x86'))\</OutDir>
|
||||
<OutDir>$(SolutionDir)bin\</OutDir>
|
||||
<IntDir>$(ProjectDir)obj\$(Configuration.ToLower())\</IntDir>
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<PlatformToolset>v143</PlatformToolset>
|
||||
|
||||
+1
-1
@@ -27,7 +27,7 @@
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<PlatformToolset>v143</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<OutDir>$(SolutionDir)bin\$(Platform.ToLower().Replace('win32', 'x86'))\</OutDir>
|
||||
<OutDir>$(SolutionDir)bin\</OutDir>
|
||||
<IntDir>$(ProjectDir)obj\$(Configuration.ToLower())\</IntDir>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
<ClCompile>
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
<ProjectModuleDefinitionFile>ca.def</ProjectModuleDefinitionFile>
|
||||
<Description>WiX Toolset CustomAction</Description>
|
||||
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
|
||||
<OutDir>$(SolutionDir)bin\$(Platform.ToLower().Replace('win32', 'x86'))\</OutDir>
|
||||
<OutDir>$(SolutionDir)bin\\</OutDir>
|
||||
<IntDir>$(ProjectDir)obj\$(Configuration.ToLower())\</IntDir>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
<?define FullName = '$(var.Manufacturer) $(var.Name)' ?>
|
||||
<?define Info = 'Powerful context menu manager for Windows File Explorer' ?>
|
||||
<?define bin = '..\..\bin' ?>
|
||||
<?define release = '$(var.bin)\$(var.Platform)' ?>
|
||||
<?define PlatformProgramFilesFolder = 'ProgramFiles6432Folder' ?>
|
||||
|
||||
<!--
|
||||
@@ -84,8 +83,8 @@
|
||||
</Directory>
|
||||
<Component Id='APPLICATION' Guid='{ED9EFE4B-E83D-42BB-8938-F72B13A2FAD2}'>
|
||||
<CreateFolder Directory='INSTALLFOLDER' />
|
||||
<File Id='shell.exe' Checksum='yes' Name='shell.exe' KeyPath='yes' Source='$(var.release)\shell.exe' />
|
||||
<File Id='shell.dll' Checksum='yes' Name='shell.dll' Source='$(var.release)\shell.dll' />
|
||||
<File Id='shell.exe' Checksum='yes' Name='shell.exe' KeyPath='yes' Source='$(var.bin)\shell.exe' />
|
||||
<File Id='shell.dll' Checksum='yes' Name='shell.dll' Source='$(var.bin)\shell.dll' />
|
||||
<File Id='readme.txt' Name='readme.txt' Source='$(var.bin)\readme.txt' />
|
||||
<File Id='license.txt' Name='LICENSE' Source='$(var.bin)\license.txt' />
|
||||
</Component>
|
||||
|
||||
@@ -1,53 +0,0 @@
|
||||
@echo off
|
||||
title dija debug
|
||||
cls
|
||||
set TH=%time:~0,2%
|
||||
set TM=%time:~3,2%
|
||||
set TS=%time:~6,2%
|
||||
|
||||
set MM=%date:~4,2%
|
||||
set DD=%date:~7,2%
|
||||
set YYYY=%date:~10,4%
|
||||
|
||||
set PLATFORM=release\x64
|
||||
|
||||
set dt=%YYYY%%MM%%DD%%TH%%TM%%TS%
|
||||
set build=%YYYY%%MM%%DD%
|
||||
|
||||
:: Validate administrative permissions...
|
||||
:: https://stackoverflow.com/questions/4051883/batch-script-how-to-check-for-admin-rights
|
||||
::echo Administrative permissions required for unregistering the Shell Extension.
|
||||
:: Unregistering the Shell Extension.
|
||||
::echo Proceeding with the Shell Extension unregistration.
|
||||
echo.
|
||||
echo Shell version $MAJOR$.$MINOR$ build $BUILD$ %date% %time%
|
||||
echo.
|
||||
|
||||
cd /d %~dp0
|
||||
|
||||
IF EXIST "%PLATFORM%\shell.dll" (
|
||||
|
||||
IF EXIST "shell.dll" (
|
||||
move "shell.dll" "deleted\shell-%dt%.dll" >nul
|
||||
)
|
||||
|
||||
copy /Y "%PLATFORM%\shell.dll" "shell.dll" >nul
|
||||
|
||||
IF EXIST "%PLATFORM%\shell.exe" (
|
||||
copy /Y "%PLATFORM%\shell.exe" "shell.exe" >nul
|
||||
timeout 1 >nul
|
||||
)
|
||||
|
||||
shell.exe -restart
|
||||
|
||||
IF EXIST "shell.log" (
|
||||
del /s /q "shell.log" >nul
|
||||
)
|
||||
|
||||
timeout 2 >nul
|
||||
|
||||
del deleted\*.dll>nul
|
||||
|
||||
rem start %~dp0
|
||||
)
|
||||
|
||||
@@ -119,7 +119,6 @@ try
|
||||
update "manifest.xml" "..\..\shared\Resource\manifest.xml";
|
||||
update "Shell.def" "..\..\dll\src\Shell.def";
|
||||
update "var.wxi" "..\..\setup\wix\var.wxi";
|
||||
update "debug.cmd" "..\..\bin\debug.cmd";
|
||||
|
||||
$content = (Get-Content $ScriptPath)
|
||||
|
||||
|
||||
Reference in new issue
Block a user