Skip to content

Commit

Permalink
feat: do not generate wslconf
Browse files Browse the repository at this point in the history
- Bump version to 11.0.1
  • Loading branch information
KexyBiscuit committed Jan 1, 2024
1 parent 26ff8ac commit a6ee2c7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion AOSCOSLauncher-Appx/AOSCOS.appxmanifest
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Package xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10" xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest" xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10" xmlns:uap2="http://schemas.microsoft.com/appx/manifest/uap/windows10/2" xmlns:uap3="http://schemas.microsoft.com/appx/manifest/uap/windows10/3" xmlns:desktop="http://schemas.microsoft.com/appx/manifest/desktop/windows10" xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities" IgnorableNamespaces="uap mp uap2 uap3 rescap desktop">
<Identity Name="20470KexyBiscuit.AOSCOSonWSL" Version="10.2.1.0" Publisher="CN=7A0EF4AF-D8E1-463F-A051-23A700957CE2" ProcessorArchitecture="x64" />
<Identity Name="20470KexyBiscuit.AOSCOSonWSL" Version="11.0.1.0" Publisher="CN=7A0EF4AF-D8E1-463F-A051-23A700957CE2" ProcessorArchitecture="x64" />
<mp:PhoneIdentity PhoneProductId="f9993335-1509-40e8-bd0a-a3dc8125ed92" PhonePublisherId="00000000-0000-0000-0000-000000000000" />
<Properties>
<DisplayName>AOSC OS on WSL</DisplayName>
Expand Down
8 changes: 4 additions & 4 deletions AOSCOSLauncher/AOSCOSLauncher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ HRESULT InstallDistribution(bool createUser)
}

// Configure per distro launch settings with wslconf
hr = g_wslApi.WslLaunchInteractive(L"echo \"# Enable extra metadata options by default\n[automount]\noptions = \\\"metadata,umask=22,fmask=11\\\"\" > /etc/wsl.conf", true, &exitCode);
if (FAILED(hr)) {
return hr;
}
//hr = g_wslApi.WslLaunchInteractive(L"echo \"# Enable extra metadata options by default\n[automount]\noptions = \\\"metadata,umask=22,fmask=11\\\"\" > /etc/wsl.conf", true, &exitCode);
//if (FAILED(hr)) {
// return hr;
//}

// Set container locale according to Windows system locale
wchar_t command[CMD_BUF_MAX_LENGTH];
Expand Down

0 comments on commit a6ee2c7

Please sign in to comment.