Since I posed the question in comment, here is how to treat the friction case, and of course at the end it reduces to the expected friction free result.
Assume the applied force has components $f_x$ parallel (up) the plane and a normal component $f_y$ downward into the plane:
The normal force between block and plane is:
$$f_n = W\cos(t) + f_y$$
The force $f_x$ required to hold against sliding, assuming static coulomb friction with coefficient $u$ is
$$f_x = W\sin(t) - u f_n = W\sin(t) - u (W\cos(t) + f_y)$$
The magnitude of the applied force is then
$$f_{mag} = \sqrt{f_x^2+f_y^2}$$
without showing all the messy steps, setting $d f_{mag} / d f_y == 0$ we can solve for $f_y$:
$$f_y = u W\sin(t)\cdot\dfrac{1 - u /\tan(t)}{1 + u^2}$$
and
$$f_x = W\sin(t) ( 1 - u\cdot\dfrac{1/\tan(t) + u}{1 + u^2})$$
For the friction free case ($u=0$) this results in the expected $f_x=W\sin(t),f_y=0$ (ie parallel to the plane) but with friction angling the force toward the plane reduces the required force magnitude.