Skip to content

Commit

Permalink
Initial Commit
Browse files Browse the repository at this point in the history
New repo, Originally Phone Helper but after an Identity Crisis it's now branded Easy-Fetch.

Changes from Phone Helper:
- Removed System Info (arm only ndtklib and registry libs)
- Added Cab Downloader for specific builds, or user specified Lists
- Added General File Downloader
  • Loading branch information
Empyreal96 committed Dec 10, 2021
0 parents commit ca6de13
Show file tree
Hide file tree
Showing 188 changed files with 50,898 additions and 0 deletions.
25 changes: 25 additions & 0 deletions Easy-Fetch/Acknowledgements.xaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<Page
x:Class="Phone_Helper.Acknowledgements"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:Phone_Helper"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
RequestedTheme="Dark"
NavigationCacheMode="Required"
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">

<Grid Padding="10,5,10,5">
<Grid.Background>
<ImageBrush ImageSource="/Assets/backdrop.jpg" Stretch="UniformToFill"/>
</Grid.Background>
<StackPanel>

<TextBox Margin="10,15,10,0" Text="Acknowledgments" TextWrapping="Wrap" VerticalAlignment="Top" HorizontalAlignment="Center" TextAlignment="Center" BorderBrush="{x:Null}" FontSize="16" Background="{x:Null}" FontWeight="Bold"/>
<ScrollViewer>
<TextBlock x:Name="CreditsBox" ScrollViewer.VerticalScrollMode="Enabled" HorizontalAlignment="Stretch" Margin="5,5,5,5" Text="" TextWrapping="Wrap" VerticalAlignment="Top" Width="Auto" Height="Auto"/>
</ScrollViewer>
</StackPanel>
</Grid>
</Page>
39 changes: 39 additions & 0 deletions Easy-Fetch/Acknowledgements.xaml.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xaml.Data;
using Windows.UI.Xaml.Input;
using Windows.UI.Xaml.Media;
using Windows.UI.Xaml.Navigation;

// The Blank Page item template is documented at https://go.microsoft.com/fwlink/?LinkId=234238

namespace Phone_Helper
{
/// <summary>
/// An empty page that can be used on its own or navigated to within a Frame.
/// </summary>
public sealed partial class Acknowledgements : Page
{
public Acknowledgements()
{
this.InitializeComponent();
CreditsBox.Text = "Below are the users which assisted and whose Open Source software used in this project:";
CreditsBox.Text += "\n" + "\n" + "Phone Helper App (Name Pending) - @empyreal96";
CreditsBox.Text += "\n" + "• Help porting Various parts of code and general help - @basharastifan";

CreditsBox.Text += "\n\n" + "Third Party Open Source Code used:";
CreditsBox.Text += "\n" + "• (SoReFetch) Copyright 2021 (c) Gustave Monce";
CreditsBox.Text += "\n" + "• (WPInternals) Copyright (c) 2018, Rene Lergner";
CreditsBox.Text += "\n" + "• (WindowsDevicePortalWrapper) Copyright (c), Microsoft";
CreditsBox.Text += "\n" + "• (StoreLib) Copyright (c) @StoreDev";
}
}
}
10 changes: 10 additions & 0 deletions Easy-Fetch/App.xaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<Application x:Class="Phone_Helper.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:Phone_Helper">


<Application.Resources>
<XamlControlsResources xmlns="using:Microsoft.UI.Xaml.Controls"/>
</Application.Resources>
</Application>
112 changes: 112 additions & 0 deletions Easy-Fetch/App.xaml.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.ApplicationModel;
using Windows.ApplicationModel.Activation;
using Windows.ApplicationModel.Core;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI;
using Windows.UI.ViewManagement;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xaml.Data;
using Windows.UI.Xaml.Input;
using Windows.UI.Xaml.Media;
using Windows.UI.Xaml.Navigation;

namespace Phone_Helper
{
/// <summary>
/// Provides application-specific behavior to supplement the default Application class.
/// </summary>
sealed partial class App : Application
{
/// <summary>
/// Initializes the singleton application object. This is the first line of authored code
/// executed, and as such is the logical equivalent of main() or WinMain().
/// </summary>
public App()
{
this.InitializeComponent();
this.Suspending += OnSuspending;
}

/// <summary>
/// Invoked when the application is launched normally by the end user. Other entry points
/// will be used such as when the application is launched to open a specific file.
/// </summary>
/// <param name="e">Details about the launch request and process.</param>
protected override void OnLaunched(LaunchActivatedEventArgs e)
{
////draw into the title bar
//CoreApplication.GetCurrentView().TitleBar.ExtendViewIntoTitleBar = true;

////remove the solid-colored backgrounds behind the caption controls and system back button
//var viewTitleBar = ApplicationView.GetForCurrentView().TitleBar;
//viewTitleBar.ButtonBackgroundColor = Colors.Transparent;
//viewTitleBar.ButtonInactiveBackgroundColor = Colors.Transparent;
//viewTitleBar.ButtonForegroundColor = (Color)Resources["SystemBaseHighColor"];

Frame rootFrame = Window.Current.Content as Frame;

// Do not repeat app initialization when the Window already has content,
// just ensure that the window is active
if (rootFrame == null)
{
// Create a Frame to act as the navigation context and navigate to the first page
rootFrame = new Frame();

rootFrame.NavigationFailed += OnNavigationFailed;

if (e.PreviousExecutionState == ApplicationExecutionState.Terminated)
{
//TODO: Load state from previously suspended application
}

// Place the frame in the current Window
Window.Current.Content = rootFrame;
}

if (e.PrelaunchActivated == false)
{
if (rootFrame.Content == null)
{
// When the navigation stack isn't restored navigate to the first page,
// configuring the new page by passing required information as a navigation
// parameter
rootFrame.Navigate(typeof(MainPage), e.Arguments);
}
// Ensure the current window is active
Window.Current.Activate();
}
}

/// <summary>
/// Invoked when Navigation to a certain page fails
/// </summary>
/// <param name="sender">The Frame which failed navigation</param>
/// <param name="e">Details about the navigation failure</param>
void OnNavigationFailed(object sender, NavigationFailedEventArgs e)
{
throw new System.Exception("Failed to load Page " + e.SourcePageType.FullName);
}

/// <summary>
/// Invoked when application execution is being suspended. Application state is saved
/// without knowing whether the application will be terminated or resumed with the contents
/// of memory still intact.
/// </summary>
/// <param name="sender">The source of the suspend request.</param>
/// <param name="e">Details about the suspend request.</param>
private void OnSuspending(object sender, SuspendingEventArgs e)
{
var deferral = e.SuspendingOperation.GetDeferral();
//TODO: Save application state and stop any background activity
deferral.Complete();
}
}
}
Binary file added Easy-Fetch/Assets/LargeTile.scale-100.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Easy-Fetch/Assets/LargeTile.scale-125.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Easy-Fetch/Assets/LargeTile.scale-150.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Easy-Fetch/Assets/LargeTile.scale-200.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Easy-Fetch/Assets/LargeTile.scale-400.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Easy-Fetch/Assets/LockScreenLogo.scale-200.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Easy-Fetch/Assets/Logos/Win10Logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Easy-Fetch/Assets/Logos/Win10MLogo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Easy-Fetch/Assets/SmallTile.scale-100.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Easy-Fetch/Assets/SmallTile.scale-125.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Easy-Fetch/Assets/SmallTile.scale-150.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Easy-Fetch/Assets/SmallTile.scale-200.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Easy-Fetch/Assets/SmallTile.scale-400.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Easy-Fetch/Assets/SplashScreen.scale-100.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Easy-Fetch/Assets/SplashScreen.scale-125.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Easy-Fetch/Assets/SplashScreen.scale-150.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Easy-Fetch/Assets/SplashScreen.scale-200.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Easy-Fetch/Assets/SplashScreen.scale-400.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Easy-Fetch/Assets/Square150x150Logo.scale-100.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Easy-Fetch/Assets/Square150x150Logo.scale-125.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Easy-Fetch/Assets/Square150x150Logo.scale-150.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Easy-Fetch/Assets/Square150x150Logo.scale-200.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Easy-Fetch/Assets/Square150x150Logo.scale-400.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Easy-Fetch/Assets/Square44x44Logo.scale-100.png
Binary file added Easy-Fetch/Assets/Square44x44Logo.scale-125.png
Binary file added Easy-Fetch/Assets/Square44x44Logo.scale-150.png
Binary file added Easy-Fetch/Assets/Square44x44Logo.scale-200.png
Binary file added Easy-Fetch/Assets/Square44x44Logo.scale-400.png
Binary file added Easy-Fetch/Assets/Square44x44Logo.targetsize-16.png
Binary file added Easy-Fetch/Assets/Square44x44Logo.targetsize-24.png
Binary file added Easy-Fetch/Assets/Square44x44Logo.targetsize-32.png
Binary file added Easy-Fetch/Assets/StoreLogo.backup.png
Binary file added Easy-Fetch/Assets/StoreLogo.scale-100.png
Binary file added Easy-Fetch/Assets/StoreLogo.scale-125.png
Binary file added Easy-Fetch/Assets/StoreLogo.scale-150.png
Binary file added Easy-Fetch/Assets/StoreLogo.scale-200.png
Binary file added Easy-Fetch/Assets/StoreLogo.scale-400.png
Binary file added Easy-Fetch/Assets/Wide310x150Logo.scale-100.png
Binary file added Easy-Fetch/Assets/Wide310x150Logo.scale-125.png
Binary file added Easy-Fetch/Assets/Wide310x150Logo.scale-150.png
Binary file added Easy-Fetch/Assets/Wide310x150Logo.scale-200.png
Binary file added Easy-Fetch/Assets/Wide310x150Logo.scale-400.png
Binary file added Easy-Fetch/Assets/appx.png
Binary file added Easy-Fetch/Assets/backdrop.jpg
66 changes: 66 additions & 0 deletions Easy-Fetch/CabFetch.xaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
<Page
x:Class="Phone_Helper.CabFetch"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:Phone_Helper"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
NavigationCacheMode="Required"
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">

<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"></RowDefinition>
<RowDefinition Height="Auto"></RowDefinition>
<RowDefinition Height="Auto"></RowDefinition>
<RowDefinition Height="*"></RowDefinition>
</Grid.RowDefinitions>
<Grid.Background>
<ImageBrush ImageSource="/Assets/backdrop.jpg" Stretch="UniformToFill"/>
</Grid.Background>
<RelativePanel HorizontalAlignment="Left">

<TextBlock x:Name="pageHeader" Grid.Row="0" HorizontalAlignment="Stretch" RequestedTheme="Dark" Text="W10M Cab Fetcher" RelativePanel.AlignTopWithPanel="True" VerticalAlignment="Top" FontSize="18" TextAlignment="Center" IsDoubleTapEnabled="False" IsHoldingEnabled="False" IsRightTapEnabled="False" IsTapEnabled="False" Margin="40,5,5,5" ManipulationMode="None" FontWeight="Bold"/>
<Grid x:Name="grid1" Grid.Row="1" RelativePanel.Below="pageHeader" >
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"></ColumnDefinition>
<ColumnDefinition Width="Auto"></ColumnDefinition>
</Grid.ColumnDefinitions>
</Grid>


<Grid x:Name="DLGrid" RelativePanel.Below="pageHeader" HorizontalAlignment="Stretch" Margin="5,5,5,5">
<Grid.RowDefinitions>
<RowDefinition Height="*"></RowDefinition>

</Grid.RowDefinitions>

<Grid Grid.Row="1" >
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"></ColumnDefinition>
<ColumnDefinition Width="auto"></ColumnDefinition>
</Grid.ColumnDefinitions>

<ComboBox x:Name="cabComboBox" Grid.Column="0" MinWidth="200" HorizontalAlignment="Stretch" Margin="5,5,5,5" />
<Button x:Name="ButtonDownload" Click="CabDLBtn_Click" Grid.Column="1" Content="Download" RelativePanel.AlignRightWithPanel="True" Margin="5,5,5,5" Height="32" Width="90"/>

</Grid>

</Grid>

<Button x:Name="ButtonPauseResume" Content="Pause" RelativePanel.AlignHorizontalCenterWith="ProgressBarDownload" RelativePanel.Below="ProgressBarDownload" HorizontalAlignment="Left" Margin="5,5,5,5" VerticalAlignment="Top" IsEnabled="False" Width="87" Click="ButtonPauseResume_Click"/>
<ProgressBar x:Name="ProgressBarDownload" RelativePanel.Below="TextBlockProgress" HorizontalAlignment="Left" Height="10" Margin="5,5,5,5" VerticalAlignment="Top" Width="390"/>
<Button x:Name="LoadListBtn" RelativePanel.AlignLeftWith="ProgressBarDownload" RelativePanel.LeftOf="ButtonPauseResume" RelativePanel.Below="ProgressBarDownload" Margin="5,5,5,5" Content="Load List" Click="LoadList_Click" />

<TextBlock x:Name="TextBlockProgress" RelativePanel.Below="TextBlockStatus" HorizontalAlignment="Left" Margin="5,5,5,5" TextWrapping="Wrap" VerticalAlignment="Top" FontSize="15"/>
<TextBlock x:Name="TextBlockStatus" RelativePanel.Below="DLGrid" HorizontalAlignment="Left" Margin="5,5,5,5" TextWrapping="Wrap" VerticalAlignment="Top" FontSize="15"/>
</RelativePanel>
<RelativePanel x:Name="RPanel1" Grid.Row="2" VerticalAlignment="Stretch" RelativePanel.Below="DLGrid">
<ScrollViewer>
<TextBlock x:Name="InfoBox" TextWrapping="Wrap" HorizontalAlignment="Stretch" ScrollViewer.VerticalScrollMode="Enabled" ScrollViewer.HorizontalScrollMode="Auto" RelativePanel.Below="" RequestedTheme="Dark" Margin="5,5,5,5" />
</ScrollViewer>
</RelativePanel>
</Grid>

</Page>
Loading

0 comments on commit ca6de13

Please sign in to comment.